Red Hat Bugzilla – Bug 802005
.glusterfs<anything_here> can be created but won't be listed in ls -a
Last modified: 2016-05-31 21:55:42 EDT
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):
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.
.glusterfs_hidden won't be listed.
.glusterfs_hidden directory should be listed in ls -a.
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 (email@example.com)
Now the .glusterfs_hidden or .glusterfs_abc can be created and ls -a lists teh entries. Moving to closed upstream.