Due to my particular system topology I would like to run netatalk on a different system than where the files are actually located. I was hoping that I could use an SMB/CIFS share on the fileserver which I could then mount to a directory on the netatalk machine and use netatalk to share...
No problems with getting the files mounted on /macshare on the netatalk machine (and forcing them to be owned by a specific uid/gid). I can read/write all the files and directories in there as the user from Linux no problem. I can also read the files just fine from my macs over AppleTalk. I can even create directories. However, attempting to create any files gives a -50 error on the mac side and on Linux a "afp_setforkparams(myfilename): ad_flush: Permission denied" error and I am also getting some occasional errors like "deletecurdir: error deleting .AppleDouble in "/macshare/Temporary Items"
These seem to indicate some sort of permissions error but I can't figure out what it is. If I try using a local directory on the netatalk machine for files it seems to work correctly (though I do still get some of the deletecurdir errors on occasion). If I try manipulating the same files on the netatalk machine directly using the same user account as via AppleTalk the user seems to be able to create and delete at will (as they should based on the file permissions). So this seems to be some permissions interaction between netatalk and the SMB/CIFS mounted files.
Any thoughts on the internals of netatalk and why it would throw permissions errors when the same user acting directly on Linux has no issues? Thanks!
No problems with getting the files mounted on /macshare on the netatalk machine (and forcing them to be owned by a specific uid/gid). I can read/write all the files and directories in there as the user from Linux no problem. I can also read the files just fine from my macs over AppleTalk. I can even create directories. However, attempting to create any files gives a -50 error on the mac side and on Linux a "afp_setforkparams(myfilename): ad_flush: Permission denied" error and I am also getting some occasional errors like "deletecurdir: error deleting .AppleDouble in "/macshare/Temporary Items"
These seem to indicate some sort of permissions error but I can't figure out what it is. If I try using a local directory on the netatalk machine for files it seems to work correctly (though I do still get some of the deletecurdir errors on occasion). If I try manipulating the same files on the netatalk machine directly using the same user account as via AppleTalk the user seems to be able to create and delete at will (as they should based on the file permissions). So this seems to be some permissions interaction between netatalk and the SMB/CIFS mounted files.
Any thoughts on the internals of netatalk and why it would throw permissions errors when the same user acting directly on Linux has no issues? Thanks!