Details
-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Low
-
Resolution: Complete
-
Affects Version/s: None
-
Fix Version/s: SCALE-20.10-ALPHA, 12.0-BETA2, 11.3-U5
-
Component/s: None
-
Labels:None
Description
PR: https://github.com/freenas/freenas/pull/5351
```
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/filesystem.py", line 463, in chown
self._winacl(data['path'], 'chown', uid, gid, options)
middlewared.service_exception.CallError: [EFAULT] Winacl chown on path /mnt/ADTest/test_home/testuser/.profile failed with error: [winacl: /mnt/ADTest/test_home/testuser/.profile: chdir() failed.: Not a directory]
````
Before plumbing in middleware permissions api, we were recursively changing owner on each item in the newly copied skel separately. This was preserved in filesystem.chown call, but subsequent changes to ensure that recursive filesystem permissions changes will only occur in the given path caused regression in this account behavior. For now simply, remove the `recursive` flag since the '/usr/share/skel/' only contains files.
Attachments
Attachments
JEditor
Issue Links
- relates to
-
NAS-107069 Symlink /usr/share/skel to /etc/skel in FreeBSD
-
- Done
-
-
NAS-107074 Permissions are incorrect on home directory move
-
- Done
-
-
NAS-107076 Expand regression tests for user api
-
- Done
-