Complete
Details
Assignee
Andrew WalkerAndrew WalkerReporter
Bug ClerkBug ClerkFix versions
Priority
Low
Details
Details
Assignee
Andrew Walker
Andrew WalkerReporter
Bug Clerk
Bug ClerkFix versions
Priority
More fields
More fields
More fields
Katalon Platform
Katalon Platform
Katalon Platform
Created August 4, 2020 at 10:26 AM
Updated July 1, 2022 at 4:56 PM
Resolved August 4, 2020 at 6:22 PM
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.