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

Re: Can't remove or change a directory [corrected]



On Thu, 15 Nov 2007, Gijs wrote:

> Les wrote:
> > On Thu, 2007-11-15 at 11:44 -0800, Les wrote:
> >
> >> On Thu, 2007-11-15 at 13:49 -0500, James Pifer wrote:
> >>
> >>> I have an fc7 box that I'm trying to remove a directory on. I don't
> >>> remember why I was playing with the directory permissions in the first
> >>> place, but I just want to get rid of it.
> >>>
> >>> the directory is in /root and looks like this:
> >>> dr-xr-xr-x 1 root root 2048 2007-11-09 15:35 tmp
> >>>
> >>> I can't do anything with it. Any file change I try to make, chmod, rm,
> >>> mv, etc I get this error like:
> >>> chmod: changing permissions of `tmp': Read-only file system
> >>>
> >>> How can I get rid of this directory? I've been googling in circles and
> >>> can't find a solution.
> >>>
> >>> Thanks,
> >>> James
> >>>
>>>
> >> Hi, James,
> >> 	Since root owns the directory, you have to be root to change it.  BUT!!
> >> be aware that tmp is a system directory.  Any buffering, temporary
> >> storage, or image viewing you do on the internet likely uses this
> >> directory.

i don't think he's talking about /tmp.  note that he's talking about a
directory named "tmp" in the directory /root, if i read it correctly.

rday

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================


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