LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2012, 06:18 AM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
I cant remove directory


Hi to all;

I am using host/guest operating system. Recently i shared Oracle software. Software corrupted. Trainer told me need to check binary files in oracle. I don't know

1.how to check binary files in oracle ???

Quote:
[root@localhost hgfs]# rm -rf Dbsharing/
rm: cannot remove directory `Dbsharing/': Permission denied
[root@localhost hgfs]#
Thanks and Regards
Thiyagusham.G
 
Old 06-02-2012, 06:21 AM   #2
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hello to everyone ;

I tried to delete manually but i am got error message.

Quote:
mnt/hgfs/Dbsharing"
cannot be deleted because you do not have permissions to modify its parent folder.
I want to remove Dbsharing folder. How can i remove ???

Thanks and Regards
Thiyagusham.G
 
Old 06-02-2012, 06:37 AM   #3
kareempharmacist
Member
 
Registered: Jan 2012
Location: Cairo Egypt
Distribution: CrunchBang,Linux Mint,Slackopuppy
Posts: 269

Rep: Reputation: 18
type the following command in the parent folder
Code:
ls -l
paste the output here
I may help u in the deletion process but I can't answer your question about checking the binaries in oracle..
 
Old 06-02-2012, 06:45 AM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Perhaps it would be wise to "unmount" it first !

Then you probably will be able to delete it.
 
Old 06-02-2012, 06:48 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To add a directory, you have to have both write and execute privileges in the parent directory. I think it's the same for removing a directory, but you can run some tests to see.
 
Old 06-02-2012, 07:44 AM   #6
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ kareempharmacist , @ lithos , @pixellany

" Thanks for all replies"

Quote:
[root@localhost ~]# cd /mnt
[root@localhost mnt]# cd hgfs/
[root@localhost hgfs]# ls -l
total 0
drwxrwxrwx 1 root root 0 Jun 2 16:26 Dbsharing
[root@localhost hgfs]# cd Dbsharing/
[root@localhost Dbsharing]# ls -l
total 0
[root@localhost Dbsharing]#
I executed rm -R <dir.name> but cant delete Dbsharing folder. but i lost contents inside Dbsharing.
Quote:
[root@localhost hgfs]# rm -R Dbsharing/
rm: remove directory `Dbsharing/'? y
rm: remove directory `Dbsharing/'?
[root@localhost hgfs]# ls -l
total 0
drwxrwxrwx 1 root root 0 Jun 2 16:26 Dbsharing

 
Old 06-02-2012, 10:26 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
As I said, you will probably need to change the permissions on the parent directory.
 
Old 06-02-2012, 11:18 AM   #8
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Show the "mount" command output,
I'm almost sure you have to unmount that "dbsharing" first.
 
Old 06-02-2012, 11:26 AM   #9
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ kareempharmacist , @ lithos , @pixellany ,@ lithos

Due to continuous issues completely linux os removed .Again i installing REDHAT LINUX 5.
I am having major problem with ORA 600 ERROR.Completely error is "etc/hosts".
1.Can anyone suggest me how to configure etc/hosts file.
I searched with google not good. IS there any specific url ???


Thanks and Regards
Thiyagusham.G
 
Old 06-02-2012, 12:08 PM   #10
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ hi to all

I think whenever i login linux os i am getting message.
I attached this error screen shot. Please review what should i do to avoid ORA 600 errror.
I think it belongs "etc/hosts ".
Can anyone help me ???

Thnaks and Regards
Thiyagusham.G
Attached Thumbnails
Click image for larger version

Name:	linux.png
Views:	17
Size:	25.5 KB
ID:	9830  
 
Old 06-02-2012, 01:12 PM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I have no idea what's going on, but I would suggest starting by doing what the error message says....
 
Old 06-03-2012, 02:04 AM   #12
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi thiyagusham

This is a different problem than what you have posted in your thread title "I cant remove directory ",
you should start a new Thread instead.


While your troubles remain, you're mixing things up not doing the install and configuration on your server completed (you have just started the setup and you let alone to finish it expecting to work "out of box").

Your current problem is that you have configured your network with DHCP to automatically acquire IP address
but obviously you don't have any DHCP server where you connected your "server" to obtain IP address.

Configure it manually (2nd example).

Last edited by lithos; 06-03-2012 at 02:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find the directory and remove the directory swathikumar Linux - Newbie 3 11-21-2011 12:38 PM
rm: cannot remove directory `ff': Directory not empty blancs Linux - General 17 08-29-2011 01:47 PM
Remove a Directory browser Linux - Newbie 8 08-11-2005 08:28 AM
how remove directory laurentwahl Linux - Newbie 1 05-31-2005 02:52 PM
help how to remove directory blackman890 Mandriva 6 11-09-2004 06:06 PM


All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration