Hi Folks
I have a file with the following permission.
-r-sr-lr-- 1 apps appsgp 7612 Dec 19 2001 startup
Any idea what is the in the group means? In my mind I believe I need to be root to set l in the group. Am I right?
I don't have root access now. When I (as apps) a chmod 4544 startup...I only get -r-s--r--. I need to modify the startup script and change it back to the correct permission. Thanks.
You want: "chmod 6544 startup" which actually is rather clever. When executed by root, the script will run as user=apps and group=appsgp. But this set of permissions has collided with another use of the sgid bit and ls is displaying the permissions as a manditory file lock. I complained about this in my "Unix File Permissions" article, but my example was a little bit contrived. This is a real-world example of the point I was trying to make.
See Unix File Permissions for the full story.
Thanks Perderabo.
You answer my question and very informative article.