Bug 887711 - Cannot delete directory when special characters are used.
Summary: Cannot delete directory when special characters are used.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
: 887712 887713 887714 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-17 04:20 UTC by Edwin Hernandez
Modified: 2013-02-20 06:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-20 06:32:36 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Edwin Hernandez 2012-12-17 04:20:32 UTC
Description of problem:
I created a directory "-4oEo5VkALI" and cannot be deleted.

Version-Release number of selected component (if applicable):
3.3

How reproducible:
Easy

Steps to Reproduce:
1.Create a directory using os.mkdir or any other mechanism 
2. try to delete it via rm -rf "\-4oEo5VkALI" and will not be able to remove it.

  
Actual results:
Cannot delete directory

Expected results:
Directory deleted


Additional info:

Comment 1 Csaba Henk 2012-12-17 10:54:31 UTC
*** Bug 887712 has been marked as a duplicate of this bug. ***

Comment 2 Csaba Henk 2012-12-17 11:40:04 UTC
*** Bug 887714 has been marked as a duplicate of this bug. ***

Comment 3 Csaba Henk 2012-12-17 11:40:37 UTC
*** Bug 887713 has been marked as a duplicate of this bug. ***

Comment 4 Daniel Challen 2012-12-17 11:55:35 UTC
I don't think this is a bug. Directories and files with - at the start of the name will cause problems in any POSIX file system. Try using a full or partial path:

rmdir ./-4oEo5VkALI

or the -- option:

rm -r -- -4oEo5VkALI

Comment 5 Amar Tumballi 2013-02-20 06:32:36 UTC
comment #4 is precise, and please re-open if thats not the issue.


Note You need to log in before you can comment on or make changes to this bug.