- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Filesystem question
Operating System - Linux
1819900
Members
2525
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-15-2004 09:38 AM
тАО07-15-2004 09:38 AM
Filesystem question
I have a user who claims he did the following:
cp -r /u02/stuff /u102
cd /u102/stuff
rm *
cd /u102
rmdir stuff
He claims that the stuff directory was deleted
from both /u02 & /u102. I am unable to recreate the situation. Every time I try, I get the correct results; only /u102/stuff is removed and /u01/stuff is intact. This user is
very reputable DBA and everyone believes him.
Is this possible? The following is the config:
/dev/cciss/c0d0p12 /u02
/dev/cciss/c0d1p2 /u102
Any thoughts? I can't tell you what I really think, but I have seen some very strnage things in my life so I can't totally rule it out. I think he must have made a mistake and I only have his word on what he said he did. His .bash_history looks suspicious and I am not even going there. I have to take his word for it that what he told me is in fact true.
-Brian
cp -r /u02/stuff /u102
cd /u102/stuff
rm *
cd /u102
rmdir stuff
He claims that the stuff directory was deleted
from both /u02 & /u102. I am unable to recreate the situation. Every time I try, I get the correct results; only /u102/stuff is removed and /u01/stuff is intact. This user is
very reputable DBA and everyone believes him.
Is this possible? The following is the config:
/dev/cciss/c0d0p12 /u02
/dev/cciss/c0d1p2 /u102
Any thoughts? I can't tell you what I really think, but I have seen some very strnage things in my life so I can't totally rule it out. I think he must have made a mistake and I only have his word on what he said he did. His .bash_history looks suspicious and I am not even going there. I have to take his word for it that what he told me is in fact true.
-Brian
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 09:55 AM
тАО07-15-2004 09:55 AM
Re: Filesystem question
Hello Brian
Under normal configuration, this should not happen. However, make sure that there is no abusive usage of symlinks on your systems.
Best regards,
Kodjo
Under normal configuration, this should not happen. However, make sure that there is no abusive usage of symlinks on your systems.
Best regards,
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2004 10:20 AM
тАО07-15-2004 10:20 AM
Re: Filesystem question
Like the previous response suggested, symlinks could be in play here. Otherwise it could be even a simple typo in the commands, (btw, everyone makes a mistake.. the grace is in accepting it and not repeating it..;- simple sysadmin 101, applies to DBAs too..:-)
regds,
Abdul.
regds,
Abdul.
No unix, no fun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 10:18 AM
тАО07-27-2004 10:18 AM
Re: Filesystem question
For sake of trying to solve an obvious argument:
Nope. For this to work, he would have *had* to use the recursive switch with the RM command.
The only other way (other than the possibility of "stuff" being a symbolic link to another directory) that this could have happened successfully, is if the "rm" command is aliased to "rm -r".
If it *is* aliased, then you could have a much larger problem to deal with than DBA's that have the popular majority believing everything they say :)
Now that I think of it, if "stuff" is a symbolic link to another directory, they would not have been able to delete it with "rmdir". They would have received a message "rmdir: stuff: Not a directory"
:) Hope this helps
Nope. For this to work, he would have *had* to use the recursive switch with the RM command.
The only other way (other than the possibility of "stuff" being a symbolic link to another directory) that this could have happened successfully, is if the "rm" command is aliased to "rm -r".
If it *is* aliased, then you could have a much larger problem to deal with than DBA's that have the popular majority believing everything they say :)
Now that I think of it, if "stuff" is a symbolic link to another directory, they would not have been able to delete it with "rmdir". They would have received a message "rmdir: stuff: Not a directory"
:) Hope this helps
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP