fix /mnt/md0/ folder permitions

Permissions, domain/LDAP, power, security, notification and more.
Locked
User avatar
Cafsenra
Posts: 18
Joined: 20 Jul 2020, 00:57

fix /mnt/md0/ folder permitions

Post 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!
DevOps Engineer. Software Developer on free time ;)
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: fix /mnt/md0/ folder permitions

Post 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.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked