Re: [SLUG] confused about file permissions

From: Sick Twist (thesicktwist@hotmail.com)
Date: Sat Oct 29 2005 - 00:52:35 EDT


>From: Eben King <eben1@tampabay.rr.com>
>Reply-To: slug@nks.net
>To: slug@nks.net
>Subject: Re: [SLUG] confused about file permissions
>Date: Sat, 29 Oct 2005 00:38:34 -0400 (EDT)
>
>Whether you can delete a file depends on having write permission in its
>directory, not on the permissions of the file itself. If you want to
>truncate it and keep everything else -- inode, permissions, etc. -- the
>same
>(e.g. "cat /dev/null > file"), you need to have write permission on the
>file.
>

Thanks for clearing that up, Eben!

-Jonathon

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:55:17 EDT