Re: [zfs-discuss] chmod behavior with symbolic links

2010-02-22 Thread Jason King
If you're doing anything with ACLs, the GNU utilities have no knowledge of ACLs, so GNU chmod will not modify them (nor will GNU ls show ACLs), you need to use /bin/chmod and /bin/ls to manipulate them. It does sound though that GNU chmod is explicitly testing and skipping any entry that's a link

Re: [zfs-discuss] chmod behavior with symbolic links

2010-02-22 Thread Casper . Dik
>I know it's documented in the manual, but I find it a bit strange behaviour >that chmod -R changes the permissions of the target of a >symbolic link. > >Is there any reason for this behaviour? > Symbolic links do not have a mode; so you can't chmod them; chmod(2) follows symbolic links (it wa

[zfs-discuss] chmod behavior with symbolic links

2010-02-22 Thread Ryan John
Hi, I know it's documented in the manual, but I find it a bit strange behaviour that chmod -R changes the permissions of the target of a symbolic link. This just really messed up my system, where I have a data directory, with a backup of some Linux systems. Within these Linux systems, th