Symbolic Link Permissions

From: <david.w.chapman_at_USSEV.mail.abb.com>
Date: Fri, 24 Oct 1997 12:57:50 -0400

How do you change the permissions for a symbolic link?

# ls -l temp1
-rw-r--r-- 1 root system 312 Oct 24 11:00 temp1
# ln -s temp1 temp2
# ls -l temp2
lrwxrwxrwx 1 root system 5 Oct 24 12:00 temp2 -> temp1
# chmod 655 temp2
# ls -l temp2
lrwxrwxrwx 1 root system 5 Oct 24 12:00 temp2 -> temp1

Thanks in advance!

Dave Chapman
david.w.chapman_at_ussev.mail.abb.com
Received on Fri Oct 24 1997 - 19:38:08 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT