[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't delete a file



On Wednesday 04 September 2002 11: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
>
>
>
> --
> Patrick Hsieh <pahud@pahud.net>

this may have something to do with the permitions of the directory this file 
is in.

i would check that.
tal.



Reply to: