bug-fileutils
[Top][All Lists]
Advanced

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

bug: rm command


From: Chandan S Pansare \(pcsbom\)
Subject: bug: rm command
Date: Wed, 13 Nov 2002 10:18:20 +0530

Hi,
 
according to man page of 'rm' command -d option can be used to unlink directory (by su).
 " -d, --directory              unlink  directory,  even  if  non-empty (super-user only) "
 
I am using "rm (GNU fileutils) 4.0l".
If I specify -d option for a removing a directory, it gives me an error
 
# rm -d <dir>
rm: cannot unlink `<dir>': Is a directory
 
I have to specify -R option to remove a directory.
 
Is this behavior correct? what's the of -d option?
 
Thanx n Regards
 
Chandan S Pansare
Software Engineer
Patni Computer Systems Limited
Unit 141, SDF 5,
SEEPZ, Mumbai
Tel: 91 22 28291454 ext. 5017
Fax: 91 22 28292764
 
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
----------------------------------------------------------------------------------------------------------------
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to whom this
message was originally addressed. Any review, e-transmission dissemination
or other use of or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. If you
have received this e-mail in error kindly delete this e-mail from your
records.
If it appears that this mail has been forwarded to you without proper
authority, please notify us immediately at address@hidden and delete
this mail.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]