In the last episode (Jan 27), Emre said:
> On Thu, Jan 27, 2000 at 05:24:16PM -0600, Dan Nelson wrote:
> > Delete permission comes from the directory, not the file.  No amount of
> > chmod'ing the file will affect it.
> 
> Hmm, so If I took out write permission for the directory, the user
> wouldn't be able to delete his .bash_history, correct? (or any file
> inside it for that matter)

Right.  But remember that no amount of filesystem attribute changes
(even the chflags stuff) will help if the user switches shells, or
simply turns off the history feature in bash.

-- 
        Dan Nelson
        [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to