1843307 Members
5162 Online
110214 Solutions
New Discussion

chmod

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

chmod

Need to change mods on /bin which is linked to /usr/bin.

Need to change from:
lrwxr-xr-x

to:

lrwxr-xr-t


Thanks!
4 REPLIES 4
Victor BERRIDGE
Honored Contributor

Re: chmod

Hi,
I havent yet found a way to do a chmod on links, my only solution I can offer is to say 1) remove the link
2) set the appropriate umask (022 or what ever)
3) recreate the link ln -s ...

All the best

Victor
G. Vrijhoeven
Honored Contributor

Re: chmod

Hi,

chmod changes the source file not the symbolic link, chmod -t filename should work.

hope this wil help,

Gideon
Sanjay_6
Honored Contributor

Re: chmod

Hi Joe,

USe

chmod 1755 dir_name

Hope this helps.

regds
James R. Ferguson
Acclaimed Contributor
Solution

Re: chmod

Hi Joe:

'/bin' is a transition link to 'usr/bin' (or should be!). Ideally, you should reference '/usr/bin' instead of '/bin'. If however, you have lost the transition links (/lib -> /usr/lib is another one), then do this:

# tlinstall

Regards!

...JRF...