[Cialug] Unable to remove a directory in RedHat7

Tom Sellers tomsellers2001 at yahoo.com
Thu Aug 21 20:02:34 CDT 2014


I did try that and it would not let me move the directory.  It gave me an error that indicated there was some kind of permissions issue.  However, I set the permissions on all the directories from the top down to 777 which should give all rights.

________________________________
 From: Tom Pohl <tom at tcpconsulting.com>
To: Central Iowa Linux Users Group <cialug at cialug.org> 
Sent: Thursday, August 21, 2014 7:47 PM
Subject: Re: [Cialug] Unable to remove a directory in RedHat7
  

Can you try to mv the folder to a higher level like /usr/local/samba/public/extended/

-Tom


> On Aug 21, 2014, at 7:31 PM, Tom Sellers <tomsellers2001 at yahoo.com> wrote:
> 
> path:   bash: path: command not found
> 
> pwd    /usr/local/samba/public/extended/Save lapto files 010906/My Documents/Miscellaneous Files/Wills profiles/cwills.cs/Application Data/eRoom/eRoom Client/V6/Portal
> 
> mount  /dev/hda8 on / type ext2 (rw)
> none on /proc type proc (rw)
> /dev/hda1 on /boot type ext2 (rw)
> /dev/hda6 on /home type ext2 (rw)
> /dev/hda5 on /usr type ext2 (rw)
> /dev/hda7 on /var type ext2 (rw)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/hdb1 on /usr/local/samba/public/extended type ext2 (rw)
> 
> 
> 
> 
> ________________________________
> From: Tom Pohl <tom at tcpconsulting.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org> 
> Sent: Thursday, August 21, 2014 7:09 PM
> Subject: Re: [Cialug] Unable to remove a directory in RedHat7
> 
> 
> How many characters is the full path and what kind of filesystem is it on?
> 
> What is the output of the following commands when you are in your deep path:
> pwd
> mount
> 
> -Tom
> 
> 
>> On Aug 21, 2014, at 6:55 PM, Tom Sellers <tomsellers2001 at yahoo.com> wrote:
>> 
>> tried the \rm -rf path (actually the directory "Portal") but I still get the Directory not empty response.  
>> 
>> This is a very deep directory structure!  Is there a limit that I somehow passed?
>> 
>> 
>> ________________________________
>> From: Tom Pohl <tom at tcpconsulting.com>
>> To: Central Iowa Linux Users Group <cialug at cialug.org> 
>> Sent: Thursday, August 21, 2014 6:26 PM
>> Subject: Re: [Cialug] Unable to remove a directory in RedHat7
>> 
>> 
>> If you have an alias that is overriding the -rf flags, you can either specify the full path to rm ie /bin/rm OR you can preface rm with a \ to run the rm in your path instead of the alias:
>> \rm -rf path
>> 
>> -Tom
>> 
>> 
>>> On Aug 21, 2014, at 5:35 PM, Adam Hill <adam at diginc.us> wrote:
>>> 
>>> Is there an alias for rm that conflicts with -f in your rc file maybe?
>>> 
>>> Based off that error I'd guess there hidden dot files.  Try `ls -a dir/`
>>> 
>>> 
>>> 
>>> On Thu, Aug 21, 2014 at 5:26 PM, chris rheinherren <c.rheinherren at gmail.com>
>>> wrote:
>>> 
>>>> Should be able to do that as root.
>>>> 
>>>> 
>>>> On Thu, Aug 21, 2014 at 4:29 PM, Tom Sellers <tomsellers2001 at yahoo.com>
>>>> wrote:
>>>> 
>>>>> I have been trying to clean up my old linux box that I used as a server
>>>>> and make sure I did not leave anything on there important.  In the
>>>> process
>>>>> of doing so I have run into a directory that I can't delete.  It says it
>>>> is
>>>>> not empty but I am unable to see any files in that directory when I am
>>>>> logged on as the root user.
>>>>> 
>>>>> Is there a way to remove the directory regardless of whether there are
>>>> any
>>>>> hidden files in it?
>>>>> 
>>>>> I tried a command I found on line rm -rf filename but that does not work.
>>>>> Just tells me directory is not empty.
>>>>> 
>>>>> Suggestions?
>>>>> _______________________________________________
>>>>> Cialug mailing list
>>>>> Cialug at cialug.org
>>>>> http://cialug.org/mailman/listinfo/cialug
>> 
>> 
>> 
>>>> _______________________________________________
>>>> Cialug mailing list
>>>> Cialug at cialug.org
>>>> http://cialug.org/mailman/listinfo/cialug



> 
> 
> 
>>> _______________________________________________
>>> Cialug mailing list
>>> Cialug at cialug.org
>>> http://cialug.org/mailman/listinfo/cialug
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug


More information about the Cialug mailing list