AFP on OES2 SP1 has issues with files and folders with the / character in the name.

  • 7004498
  • 22-Sep-2009
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux SP1

Situation

Accessing files or folders with the "/" character in the name causes afp errors.

Example:
SLES10 SP2
OES2 SP1 (2.0.1)
NSS volume named, Vol1
Unix namespace is selected
10.4 MAC Workstation

Connect to server on Vol1
Copy a file (testfile.txt) from the MAC desktop to the volume. Success
Create anew folder from the MAC client on Vol1 named "folder/one". Success
Open "folder/one" from the MAC. Success
Drag and drop the same testfile.txt from the MAC desktop into "folder/one" Error: "The Finder cannot complete the
operation because some data in testfile.txt could not be read or written. (Error code -36)."

The testfile.txt exists in the folder/one file folder but it has a 0 byte size and cannot be deleted by the MAC but can be deleted at the console on the
server.

Try to edit vol1:\folder/one\testfile.txt by browsing to it and double clicking it from the MAC. Error, "File "testfile.txt" could not be
opened."

Right click on the file and select, "Move to trash", verify that you want to delete it, Error, "The operation could not be completed because the item
"testfile.txt" is in use."

Resolution

In iManager > File Protocols > AFP > Select the server > uncheck "Cross Protocol Lock" and restart afptcp
You can now create and drag and drop files and folders with the slash character in the name.

Connect to that same volume with a Windows workstation (no Novell client). You will not see the files or folders with the / character in them.