Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-107074

Permissions are incorrect on home directory move

    XMLWordPrintable

    Details

      JEditor

        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.

          Attachments

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  releng Release Council
                  Reporter:
                  bugclerk Bug Clerk
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: