Page 1 of 1

fix /mnt/md0/ folder permitions

Posted: 20 Aug 2021, 00:46
by Cafsenra
I found that my tnas has a wide open permitions on /mnt/md0/ :

total 20
drwxr-xr-x 1 root root 80 Aug 22 2020 .
drwxr-xr-x 4 root root 4096 Aug 18 23:28 ..
drwxrwxrwx+ 1 root root 100 Aug 15 11:50 appdata
drwxrwxrwx 1 root root 220 Aug 19 17:09 application
drwxrwxrwx+ 1 root root 1012 Aug 19 16:42 public
drwxrwxrwx 1 root root 10 Aug 18 23:16 @system
drwxrwxrwx 1 root root 70 Aug 19 17:15 User
drwxrwxrwx 1 root root 13512 Aug 19 00:00 @zlog

I could tight permissions, but I suspect that the owner:group of this folders shouldn’t be root. Can anyone confirm the default permissions and owner:group combination.

Thank you!

Re: fix /mnt/md0/ folder permitions

Posted: 20 Aug 2021, 15:32
by TMSupport
HI! All folders under /mnt/md0 are shared folders, and shared folders are created by the administrator in the control panel, and the administrator belongs to the root group. You can use the command: getfacl /mnt/md0/public to view the permissions of public or other shared folders. The permissions will be written in the configuration files of file services such as SMB. Ordinary users do not have SSH login permissions, so the permissions are not open.