TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:15890] File Permission Errors



Jonathan Kline said:
> Hey All:
> 	Okay I have some directories(Home Directories), That Have a FIle
> in them called .rhosts  The file is owned root.root, and is readable only
> by root, When you try to delete it you get rm: unable to link
> /home/user/.rhosts : Operation Not Permitted.
> 	Does anyone know how to delete this file?  Even as root it refuses
> to delete, also it refuses to accept a permissions change!!!!
> 	Any1 have any Ideas?  The OS is Mandrake 6.1 w/ Kernel 2.3.8.

Where are the directories located physically?  The only time I've run into
problems like that (neither file owner nor dir owner can delete/chown file)
has been in NFS-mounted directories where the files are owned by a user who
isn't on the mounting machine.  (Note that, even though UIDs may be the same,
in general, root on sharing box != root on mounting box.)

So, if the directories are NFS mounted, try cleaning it up from the box where
they're physically stored.

-- 
The Shortest Windows Manual:  "Turn off the power switch."
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+