Displaying 5 results from an estimated 5 matches for "set_simple_acl".
2018 Mar 26
1
'set_simple_acl' referenced before assignment in classicupgrade
...rs Importing users
>> Committing 'add users' transaction to disk
>> Adding users to groups
>> Committing 'add users to groups' transaction to disk
>> ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception -
>> local variable 'set_simple_acl' referenced before assignment File
>> "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py",
>> line 176, in _run return self.run(*args, **kwargs) File
>> "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line
>> 1589, in ru...
2018 Mar 22
0
'set_simple_acl' referenced before assignment in classicupgrade
...n to disk Adding users Importing users
> Committing 'add users' transaction to disk
> Adding users to groups
> Committing 'add users to groups' transaction to disk
> ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception -
> local variable 'set_simple_acl' referenced before assignment File
> "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 176, in _run return self.run(*args, **kwargs) File
> "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line
> 1589, in run useeadb=eadb,...
2018 Mar 22
4
'set_simple_acl' referenced before assignment in classicupgrade
...dd groups' transaction to disk
Adding users
Importing users
Committing 'add users' transaction to disk
Adding users to groups
Committing 'add users to groups' transaction to disk
ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local variable 'set_simple_acl' referenced before assignment
File "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run
return self.run(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1589, in run
useeadb=eadb, dns_back...
2017 Jun 14
2
Explain to me how this is correct...
So... in the provision script, at some point after "self join" is printed,
we do:
smbd.set_simple_acl(file.name, 0755, gid)
.... where file.name is "/var/db/samba4/sysvol/tmpwXFu1C" and gid is 0 (at
least on FreeBSD).
the "OSError" here is a '-1' ... which is startlingly unhelpful.
... but the filesystem is zfs and acls of both posix and nfsv4 are working.
... having...
2017 Jun 14
0
Explain to me how this is correct...
On Wed, 14 Jun 2017 16:23:03 -0400
Zaphod Beeblebrox via samba <samba at lists.samba.org> wrote:
> So... in the provision script, at some point after "self join" is
> printed, we do:
>
> smbd.set_simple_acl(file.name, 0755, gid)
>
> .... where file.name is "/var/db/samba4/sysvol/tmpwXFu1C" and gid is
> 0 (at least on FreeBSD).
>
> the "OSError" here is a '-1' ... which is startlingly unhelpful.
>
> ... but the filesystem is zfs and acls of both posix...