Michelle Knight schreef op 03-05-10 10:23:
> I seem to have a problem changing the owner of a symlinked directory.
> 
> As root...
> 
> mkdir a
> chown admin:audiogroup a
> ln -s a b
> 
> Directory "b" shows up owned by root, but I can't change it from this. I 
> can't change the mod permissions either.
> 
> "chown admin:audiogroup b" doesn't work. There doesn't seem to be a lchown 
> command. Also trying the -L switch would change the linked-to file if I read 
> correctly.

Use chown -h to change the ownership of the link itself.

Onno

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to