Register | Login

By default if you change the ownership or group name of a symbolic soft link then the orginal file will get affected. The orginal files user name and group name will be changed but the soft links owner name and group name will reamin the same.


 


In order to change the soft links owner name and group name we need to use '-h' option


 


chown -h test:test soft_link


 


this will change the softlinks owner and group name to 'test'. This will not afftect the orginal file permissions.



Who Voted for this Article



YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.