AFP file permission issues with Mac OS X

afpmac-osx

I have two clients (one windows XP and one Mac OS X) connected to a UNIX server (centOS). The windows client connects through the Samba file protocol, and the Mac through AFP. For some reason the Mac OS X machine ignores the permissions set even when they are changed to 444; it just overrides the priveleges and is able to write to the file (along with changing the permissions to 777). I have been logging in as the administrator on both client machines.

Additionally, I have attempted to utilize the fperm property in the AppleVolumes.default configuration file to reflect the target permissions but to no avail.

Any suggestions on how to solve this issue? Please let me know if any further clarification is needed!

Best Answer

If you have SMB working, why not just connect the Mac using that as well? Afaik, there's no advantage to use AFP in this case as OS X supports SMB equally well. AFP does have some minor benefits (such as SSO, Open Directory integration etc) when running in a Mac managed environment, but I don't think you need it here.