I've got a TS-H973AX running Hero 4.5.1.1517 and am running into the same problem described here:
viewtopic.php?t=151663
Basically that ACL's are enabled and so when I mount the folder with NFS, all files are created 777 and umask is not respected.
However, I don't see anywhere in the UI to check or uncheck Advanced Folder Permissions. Is it possible to disable this, or are there other workarounds so I can simply mount a folder with NFS and have files created that respect the umask of the user?
QuTS Hero Disable Advanced Folder Permissions
-
- New here
- Posts: 2
- Joined: Sat Mar 06, 2021 2:43 am
-
- New here
- Posts: 2
- Joined: Sat Mar 06, 2021 2:43 am
Re: QuTS Hero Disable Advanced Folder Permissions
Just to add, on my old TS-431 (running 4.3.6), I do see an Advanced Folder Permissions on the sharing folder, but that tab seems to be gone on the TS-H973AX, and I can't find it anywhere.
-
- First post
- Posts: 1
- Joined: Mon Jan 09, 2023 8:54 am
Re: QuTS Hero Disable Advanced Folder Permissions
I'm running into the same issue ... running firmware version h5.0.0.1892 on a TVS-472XT.
Would be extremely helpful to have a resolution for this.
Would be extremely helpful to have a resolution for this.
-
- First post
- Posts: 1
- Joined: Wed Jan 11, 2023 8:51 am
Re: QuTS Hero Disable Advanced Folder Permissions
Seems like the Qnap enables RichACLs on the share, setting a default permissions and ownership for files and directories created from the NFS client.
In my case, I had to disable the user management permissions on the shared folder from the GUI, ssh into the Qnap device as admin, navigate to the shared directory and delete the RichACL settings.
!!!!!!!!!! Please first backup your data if it's valuable. !!!!!!!!!!!!!!
!!!!!!!!!! I'm not responsible if you have any data loss. !!!!!!!!!!!!!
[administrator@NAS7C4 ]$ cd /share/ZFS18_DATA/sharedfolder
[administrator@NAS7C4 sharedfolder]$ getfacl .
# file: .
# owner: admin
# group: administrators
user::rwx
user:admin:rwx
user:guest:---
group::r-x
group:administrators:rwx
group:everyone:r-x
mask::rwx
other::---
default:user::---
default:user:admin:rwx
default:user:guest:---
default:group::---
default:group:administrators:rwx
default:group:everyone:rwx
default:mask::rwx
default:other::---
[administrator@NAS7C4 sharedfolder]$ richacl -D .
[administrator@NAS7C4 sharedfolder]$ getfacl .
# file: .
# owner: admin
# group: administrators
user::rwx
group::r-x
other::r-x
In my case, I had to disable the user management permissions on the shared folder from the GUI, ssh into the Qnap device as admin, navigate to the shared directory and delete the RichACL settings.
!!!!!!!!!! Please first backup your data if it's valuable. !!!!!!!!!!!!!!
!!!!!!!!!! I'm not responsible if you have any data loss. !!!!!!!!!!!!!
[administrator@NAS7C4 ]$ cd /share/ZFS18_DATA/sharedfolder
[administrator@NAS7C4 sharedfolder]$ getfacl .
# file: .
# owner: admin
# group: administrators
user::rwx
user:admin:rwx
user:guest:---
group::r-x
group:administrators:rwx
group:everyone:r-x
mask::rwx
other::---
default:user::---
default:user:admin:rwx
default:user:guest:---
default:group::---
default:group:administrators:rwx
default:group:everyone:rwx
default:mask::rwx
default:other::---
[administrator@NAS7C4 sharedfolder]$ richacl -D .
[administrator@NAS7C4 sharedfolder]$ getfacl .
# file: .
# owner: admin
# group: administrators
user::rwx
group::r-x
other::r-x