[Samba] Fruit & uchg

Andrew Walker walker.aj325 at gmail.com
Wed Apr 28 11:39:54 UTC 2021


On Wed, Apr 28, 2021 at 7:24 AM Perttu Aaltonen <perttu.aaltonen at mac.com>
wrote:

>
> I thought it might have something to do with ZoL or getfattr not showing
> everything.
>
No. I was merely mentioning that some ZFS attributes are not visible /
settable in Linux. Samba does not rely on these. As I mentioned earlier,
the readonly attribute is stored in user.DOSATTRIB. Sorry if I muddied the
waters. You can verify that "readonly" is being toggled via the "allinfo"
command (or simple "ls") using smbclient ("smbclient //<server>/<share> -U
<username>").

smb: \> allinfo newfile.txt
altname: newfile.txt
create_time:    Tue Apr 27 11:48:15 2021 PDT
access_time:    Tue Apr 27 11:48:15 2021 PDT
write_time:     Tue Apr 27 11:48:15 2021 PDT
change_time:    Tue Apr 27 11:48:15 2021 PDT
attributes: RA (21)
stream: [::$DATA], 0 bytes
smb: \> quit

^^^ "Locked" checked

smb: \> allinfo newfile.txt
altname: newfile.txt
create_time:    Tue Apr 27 11:48:15 2021 PDT
access_time:    Tue Apr 27 11:48:15 2021 PDT
write_time:     Tue Apr 27 11:48:15 2021 PDT
change_time:    Tue Apr 27 11:48:15 2021 PDT
attributes: A (20)
stream: [::$DATA], 0 bytes

^^^ "Locked" un-checked


More information about the samba mailing list