[Samba] Is it possible to 'getfacl' on a mounted samba share ?
nmingotti at gmail.com
Mon Jan 25 11:05:37 UTC 2021
I think you spot the right corner !
. I changed /etc/fstab as follows
# mount disco R
//nas.borghi.lan/sambaDisk/DiscoS/ /mnt/discoR cifs
vers=1.0,credentials=/usr/local/etc/discoR.credentials 0 0
. remount disk /mnt/discoR
. Now it is almost all working:
p at linte> getfacl /mnt/discoR/Borghi/
getfacl: Removing leading '/' from absolute path names
# file: mnt/discoR/Borghi/
# owner: root
# group: adm
. The only thing still missing is the group names. That is missing also
if i run 'getfacl' as a domain user.
. Is there a way to get also the group names instead of their id ?
. What am I missing out if I mount the disk with "vers=1.0" ?
. Are there any danger I could mess up stuff in the NAS which runs on
a higher protocol version when I mount it as "1.0" ?
Thank you for your help !
On 1/25/21 11:11 AM, Ralph Boehme wrote:
> Am 1/24/21 um 5:30 PM schrieb Nicola Mingotti via samba:
>> But, If I try to run "getfacl" from a linux machine mounting the
>> samba share I can't seen anything. Is it normal?
> I guess that only works with SMB1 and UNIX extensions as it is built
> on being able to query native POSIX ACL over the wire. It probably
> doesn't support querying native NT ACL and showing it as POSIX ACL
> (for good reasons as the mapping is lossy).
> Aurelien, am I right?
More information about the samba