Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing permissions on the sysbolic linked file ?

Status
Not open for further replies.

Striker99

Programmer
Oct 31, 2001
34
UA
All,

I have the following direcotry under /data with full access.

drwxrwxrwx 4 user3 user3 96 Jul 18 08:39 scripts

I have created a symbolic link to this direcotry from / with the following rights/users

lrwxr-xr-x 1 root sys 12 Jul 16 12:09 scrpts - data/scripts

My problem is the i want to change the user/group to user3 for /scripts. The chmod/chgrp/chown executes without errors but the permissions/user/group for /scripts does not change.

How can i manage to change the rights/user/group on /scripts ?

thanks,
striker99
 
Hi,
Use the -h flag with chown -

#chown -h user3 /scripts

Hope this helps.

Regards -Vikram Kalsi
----------------------------------------
We learn most when we have to invent - Piaget
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top