Set user permissions correctly when selecting the location for the user's home directory
When creating a user jmaloney, and selecting a location for home directory /mnt/tank/home the initial permissions for /mnt/tank/home/jmaloney are set to root:wheel. This should be jmaloney:jmaloney. This affects samba homes share functionality until the correct permissions for the user folder are set.
#3 Updated by Joe Maloney almost 3 years ago
Just adding a note this is not what I thought it was. When adding a user the permissions are fine when setting the home directory. It is when a smb home share is create with the "use as home share" checkbox that all of the user folders ownerships are changed to root:wheel.
#11 Updated by Waqar Ahmed over 2 years ago
Hello. So when a new share is created in the new UI. It automatically sends the default_permissions value as True in new UI when making a call to api v1, which shouldn't happen. This needs to be taken care of on the new UI side. The behavior described in the ticket is not valid for legacy UI. Please let me know if I got this wrong. Thank you
#14 Updated by Dru Lavigne over 2 years ago
- Subject changed from When selecting a home directory for a user permissions are set incorrectly to Set user permissions correctly when selecting the location for the user's home directory
- Needs Doc changed from Yes to No
- Needs Merging changed from Yes to No