6564 Views 6 Replies Latest reply: Jan 20, 2009 6:07 AM by Tim Plessers
Thanks for the replies
I've narrowed it down to a Centos client issue.
Everything works fine using other Linux based OS's as clients.
Since we have such a huge investment in Centos, I must figure out a workaround. Apple support wasn't much help as usual however they were very nice.
There usual response is "its unsupported".
If Apple really wants to play in the enterprise of business space, they really need to change there philosophy. I mean telling me that I shouldn't mount home directories via NFS is completely rediculus.
What am I supposed to use then, Samba of AFP? No, I don't think so. No offense to Microsoft but why would I use a Windows based file sharing protocol to mount network shares in a Nix env???
Ok, so comparing user vs root (strace output) when writing to the file, I see 2 major discrepancies;
** successful operation
fchown(3, 1199, 20) = 0
** unsuccessful operation
fchown(4, 1199, 20) = -1 EPERM (Operation not permitted)
Keep in mind that this is upon a file with 777 and all users having a umask of 0.
Can any one comment?
I haven't had any issues work from OSX to Ubuntu or FreeBSD. I had numerous issues getting CentOS to cooperate with OSX .. or with Ubuntu .. or with FreeBSD.
The only time I've ever seen those read errors is when I try to write a file in vim and I forgot to sudo. Wish I could have been more helpful but at least you know it doesn't affect all *nix/bsd.
I have the exact same problem. A Leopard Server (10.5.6) shares a data directory with AFP to mac clients, SMB to windows clients and NFS to linux clients. The share has 1 ACL (allow read & write to a group, applies to this folder, child files, child folders, all descendants. Macs and Windows PC's seem to do fine. The Linux clients (mostly Fedora 6-10) can automount into /net/servername/Volumes/.../sharename and read all files. They can also create / delete files and folders. However, when they EDIT a file, they can't save it, unless they use VI with "wq!". Other text editors like gedit can't save edited files (no permissions). When I mount the share with samba, it gives exactly the same problem. Comments are welcome.