Re: ACL '+' not shown in 'ls' on kernel cephfs mount

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

 



Hi,

I can confirm this for:

ceph --version
ceph version 12.2.5-419-g8cbf63d997 (8cbf63d997fb5cdc783fe7bfcd4f5032ee140c0c) luminous (stable)

Setting ACLs on a file works as expected (restrict file access to specific user), getfacl displays correct information, but 'ls -la' does not indicate that there are ACLs on that file.


Zitat von Chad W Seys <cwseys@xxxxxxxxxxxxxxxx>:

Hi all,
   It appears as though the '+' which indicates an extended ACL is not
shown when 'ls'-ing cephfs is mounted by kernel.

# ls -al
total 9
drwxrwxr-x+ 4 root smbadmin    4096 Aug 13 10:14 .
drwxrwxr-x  5 root smbadmin    4096 Aug 17 09:37 ..
dr-xr-xr-x  4 root root           3 Sep 11 09:50 timemachine
dr-xr-xr-x+ 3 root root     2114912 Aug 15 14:09 winbak

Two directories, timemachine is mounted by kernel cephfs module:

df -h timemachine/
Filesystem                                                          Size
  Used Avail Use% Mounted on
128.104.164.197,128.104.164.198,10.128.198.51:/backups/timemachine  8.7T
  3.2T  5.6T  37% /srv/smb/timemachine

and winbak is ceph-fuse mounted:

df -h winbak/
Filesystem      Size  Used Avail Use% Mounted on
ceph-fuse       8.7T  3.2T  5.6T  37% /srv/smb/winbak

You can see in the 'ls' output that winbak has a '+' (indicating ACL).

timemachine also has ACL but no '+':

getfacl timemachine/
# file: timemachine/
# owner: root
# group: root
user::r-x
user:backupadmin:r-x
group::r-x
group:wheel:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:backupadmin:r-x
default:group::r-x
default:group:wheel:rwx
default:mask::rwx
default:other::r-x

Known bug? My bug?

Thanks!
Chad.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux