-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
It's not really relevant what the permissions are on the remote side. The Nextcloud container is running on Unraid. UD mounts with `nounix` and specific `file_mode` and `dir_mode` options (0777) Nov 10 09:52:00 unraid unassigned.devices: Mount SMB command: /sbin/mount -t 'cifs' -o rw,relatime,noserverino,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,credentials='/tmp/unassigned.devices/credentials_nextcloud' '//NAS/nextcloud' '/mnt/remotes/nextcloud' therefore things on Unraid will see the permissions to be 0777 regardless of what they are on the remote side. Therefore Nextcloud sees its data dir (mounted by UD) to have 0777 and complains. If there's not a way using UD for me to specify mounting with 0770, then noted, I will just have to manage that particular mount manually. Everything works fine when I manually mount and specify dir_mode=0770, it would just be nice to have the convenience of UD.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Alright, I tried this and the mount point remains at 0777. I assume this was just using chmod under the hood anyway. Like I said, as far as I know, a CIFS mount that was mounted with dir_mode and file_mode specified cannot have permissions changed after mounting. chmod will just run and complete with no error, but no permissions are actually changed. Possible feature request to be able to customize some of the options for UD's mount command?
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Sorry, could you clarify? The unraid webpage file browser? I do not see any permissions options there. Not sure how that would work anyway, usually CIFS mount permissions cannot be changed after mounting.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
I see UD mounts SMB shares with `nounix` and `dir_mode=0777`. Is it possible to customize this? I need the mounted directory to be 0770 or else Nextcloud will complain.
tctx
Members
-
Joined
-
Last visited