Permissions are incorrect on home directory move

Description

PR: https://github.com/freenas/freenas/pull/5362

In case of moving location of home directory from path a to path b, if path b
does not exist, we need to explicitly set permissions as well strip any ACL
on the path in order to ensure that premissions from original path are preserved.

Preference for new mode is as follows:
1. user-supplied mode in 'user.update' call
2. existing mode on old path
3. default mode. Since this is most likely an error condition, default is 0700.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk August 5, 2020 at 1:29 PM

Bug Clerk August 4, 2020 at 6:40 PM

Bug Clerk August 4, 2020 at 5:52 PM

Complete

Details

Assignee

Reporter

Priority

More fields

Katalon Platform

Created August 4, 2020 at 3:43 PM
Updated February 14, 2024 at 7:16 PM
Resolved August 5, 2020 at 1:29 PM