On Wednesday 04 September 2002 01:14, Patrick Hsieh wrote:
> Hello list,
>
> I created a file as root and chown it to a common account, then su to
> that account, trying to delete it as that account but failed. Any idea?
>
> # touch todel
> # chown pahud todel
> # ls -l todel
> -rw-r--r--    1 pahud   root            0 Sep  4 16:08 todel
> # su pahud
>
> > rm -f todel
>
> rm: cannot unlink `todel': Permission denied
>
> > ls -al todel
>
> -rw-r--r--    1 pahud   root            0 Sep  4 16:08 todel

Check the permissions of the directory the file is in.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to