permissions on automatically created symlinks

2005-10-07 Thread Isak Lyberth
I have added a symlink that i need newly created users to automatically 
get, when they are created, into /etc/skel
when i add new users this symlink is created just fine, but the owner of 
it is root:wheel
i need it to be a certain group that can will have read access to the 
symlink and to the destination folder.


How do i make this possible?
i add users using addusers.
I have tried adding some chmod lines different places in the addusers 
perl script, but still its not working.



(i am using current)



Re: permissions on automatically created symlinks

2005-10-07 Thread Hannah Schroeter
Hello!

On Fri, Oct 07, 2005 at 11:50:42AM +0200, Isak Lyberth wrote:
I have added a symlink that i need newly created users to automatically 
get, when they are created, into /etc/skel
when i add new users this symlink is created just fine, but the owner of 
it is root:wheel
i need it to be a certain group that can will have read access to the 
symlink and to the destination folder.

Owner/Group/Permissions of symlinks are completely irrelevant
for readlink as well as access to the file/directory the link
points to. The only point where I've found a relevance is if
you want to remove the link again from a sticky directory, e.g.
/tmp.

Should *that* be a problem, see the -h option of chown.

So why do you really worry?

[...]

Kind regards,

Hannah.