Henning Kessler
Contributor
- Joined
- Feb 10, 2015
- Messages
- 143
Hi there,
after upgrading an 11.3-U5 to 12.TrueNAS-12.0-U1 I have a strange problem when trying to copy files from a 10.15.7 macOS System to an attached SMB Volume via the command line:
when I copy the same file from the GUI ist works. The user is member of a group that has full access to the directory:
I haven't set any of the so called
smb.conf:
here a the share specific configurations:
after upgrading an 11.3-U5 to 12.TrueNAS-12.0-U1 I have a strange problem when trying to copy files from a 10.15.7 macOS System to an attached SMB Volume via the command line:
Code:
√ madmin@pkgstation[~]% cp ./mounshare.sh /Volumes/munki/pkgs 17:52:07 cp: /Volumes/munki/pkgs/mounshare.sh: fchmod failed: Invalid argument
when I copy the same file from the GUI ist works. The user is member of a group that has full access to the directory:
Code:
root@nas[/mnt/tank01/apps/munki]# getfacl pkgs # file: pkgs # owner: root # group: AD\administrator owner@:rwxpDdaARWcCos:fd----I:allow group@:rwxpDdaARWcCos:fd----I:allow group:AD\waf-admins:rwxpDdaARWc--s:fd----I:allow user:www:r-x---a-R-c---:fd----I:allow everyone@:--------------:fd----I:allow
I haven't set any of the so called
Share ACL
.smb.conf:
Code:
[global] dns proxy = No aio max threads = 2 max log size = 51200 load printers = No printing = bsd disable spoolss = Yes dos filemode = Yes kernel change notify = No directory name cache size = 0 nsupdate command = /usr/local/bin/samba-nsupdate -g unix charset = UTF-8 log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log obey pam restrictions = False enable web service discovery = True logging = file server min protocol = SMB2_02 unix extensions = No restrict anonymous = 2 server string = FreeNAS Server fruit:nfs_aces = No interfaces = 127.0.0.1 192.168.1.83 bind interfaces only = Yes netbios name = nas netbios aliases = server role = member server kerberos method = secrets and keytab workgroup = AD realm = AD.DOMAIN security = ADS local master = No domain master = No preferred master = No winbind cache time = 7200 winbind max domain connections = 10 client ldap sasl wrapping = seal template shell = /bin/sh template homedir = /home/%D/%U ads dns update = Yes allow trusted domains = No winbind enum users = Yes winbind enum groups = Yes idmap config AD: backend = rid idmap config AD: range = 100000001-200000000 idmap config *: backend = tdb idmap config *: range = 90000001-100000000 strict sync = no registry shares = yes include = registry
here a the share specific configurations: