- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to remove directory
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:01 AM
тАО01-15-2009 08:01 AM
How can I remove this directory?
sapsbox:/home/oracle.b# l
total 32
drwxr-xr-x 3 oracle dba 8192 Jan 15 10:35 .
dr-xr-xr-x 1 root root 1 Jan 15 10:44 NAS_archoverflow
drwxr-xr-x 19 root root 8192 Jan 15 10:55 ..
sapsbox:/home/oracle.b# rm -rf NAS*
rm: cannot read NAS_archoverflow: Permission denied sapsbox:/home/oracle.b# ll NAS* NAS_archoverflow unreadable total 0
sapsbox:/home/oracle.b#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:04 AM
тАО01-15-2009 08:04 AM
Re: unable to remove directory
fuser -cuk /directory_name
That will kill all open processes on the folder then you should be able to delete.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:08 AM
тАО01-15-2009 08:08 AM
Re: unable to remove directory
can you post a
bdf /home/oracle/NAS_archoverflow
(to check if it is not a nfs share.)
whoami
If it is a share and you have root privilages, please check if root may write to the share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:19 AM
тАО01-15-2009 08:19 AM
Re: unable to remove directory
If you're sure that the directory is already empty, you could just do a "rmdir NAS*", presuming you have the proper permissions on the parent directory. Based on what you're showing for "..", it would appear that **ONLY** a root user can manipulate this /home/oracle.b directory and its contents.
How are you logged in when you try this - as what username?
HP-Server-Literate since 1979
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 08:38 AM
тАО01-15-2009 08:38 AM
Re: unable to remove directory
I changed /etc/auto*master, rebooted, then deleted it...