Bug 802005 - .glusterfs<anything_here> can be created but won't be listed in ls -a
Summary: .glusterfs<anything_here> can be created but won't be listed in ls -a
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: pre-release
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: M S Vishwanath Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-10 07:11 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-03-13 09:31:28 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description M S Vishwanath Bhat 2012-03-10 07:11:33 UTC
Description of problem:
On the mountpoint, creation of .glusterfs is not permitted, but creation of any directory .glusterfs_hidden or .glusterfs_blah_blah is permitted. So the creation succeeds but won't be listed in ls -a. 

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

How reproducible:
Always

Steps to Reproduce:
1. Create and start any volume.
2. Mount the volume and create a dir called .glusterfs_hidden
3. Run ls -a on mountpoint.
  
Actual results:
.glusterfs_hidden won't be listed.

Expected results:
.glusterfs_hidden directory should be listed in ls -a.

Additional info:

Comment 1 Anand Avati 2012-03-12 06:00:12 UTC
CHANGE: http://review.gluster.com/2910 (posix_fill_readdir: Using strcmp to compare GF_HIDDEN_PATH with entry->d_name instead of strncmp.) merged in master by Vijay Bellur (vijay)

Comment 2 M S Vishwanath Bhat 2012-03-13 09:31:28 UTC
Now the .glusterfs_hidden or .glusterfs_abc can be created and ls -a lists teh entries. Moving to closed upstream.


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