chmod on a symbolic link
Code:
tpdev2 # ls -lad /nsms/omfs/app/ How do that? A simple "chmod 555 /opt/omfs" is not changing the permission. I am on HPUX. Thanks |
Are you finding that otroot or tproot can't access /nsms/omfs/app via the osmf link on HPUX? On Linux, the permissions of the link wouldn't matter because they aren't used. The permissions of the file/directory pointed by the link are used. The following is from the Linux man page for chmod:
Code:
chmod never changes the permissions of symbolic links; the chmod system call cannot change |
I believe the HPUX chmod will simply change the modes of the "linked to" file as opposed to the "link file" itself. What version of HPUX are we talking about?
|
All times are GMT -5. The time now is 12:59 PM. |