[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod on symlink
From: |
Bob Proulx |
Subject: |
Re: chmod on symlink |
Date: |
Mon, 1 Jun 2009 15:18:40 -0600 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Marc Perkel wrote:
> I'd like to be able to run chmod on a symlink so that users can't delete
> the symlink. Can it be done?
The permissions, owner, and group of a symlink are not significant.
They are there only because other files have them and symlinks were
fitted into the existing framework of being a file.
A symlink is simply a file in a directory. To prevent users from
removing a file from a directory you can remove write permission from
the directory.
Bob