Unable to change file folder permissions

Permissions, Users, Uear groups, shared folders, LDAP/domain
Post Reply
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Unable to change file folder permissions

Post by Gremlin »

OK, this is an odd one and may well be down to my misunderstanding :o

I can trace the origins of this this back to about 10 June 2024. I have a user set up to specifically post cctv images, via ftp, to a shared folder. After that date it appears the user ceased to post pictures successfully. The actual system login can be seen as successful but no files were added to the system. {This covers 4 cameras each trying to post an image every 120 seconds}.

I realised this a few days ago but was tied up with other matters. I went into the system as Admin-user. Attempted to modify folder permissions via the GUI using both the shared folder control and the File Manager Control. In both cases permissions modifications were recorded as 'successful' but, in reality, nothing changed. Even after a reboot. Even after an update to 5.1.145 as of this morning.

My suspicion is that, maybe, the shared folder was established using group permission (I don't remember), but I cannot see why the admin-user cannot change that using the GUI. I could see this shared folder via the GUI and could change permissions (chgrp, chown, etc) but this did not change the abilities via GUI. Thence, I suppose ACLs are modifying behaviour but this still does not explain the inability to modify as admin-user via GUI. {I will confess ACLs are still a 'conceptual confusion' for me! :? )

My quick solution was to create a new shared folder (on a different Volume) based on user permission and move all sub-folders and files (some 60,000 files!) to to the new shared folder. I then deleted the old shared folder. In the meantime I was able to check the acl ('getfacl') via cli and noted that the output from the 'group' created shared folder was significantly different from that of the 'user' created shared folder.

The solution worked in that the cameras are now uploading images correctly and, logging in as the camera-user, I see just that shared folder as would be expected. I have yet to test creating/modifying folders in other ways which would depend in some respects on any feedback received.

Thanks for reading :)
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Unable to change file folder permissions

Post by Gremlin »

FYI, I suspect that 10/06/24 was about the date I updated from 5.1.123 to 5.1.131. (I don't usually update immediately a new version is released).
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
RyanYang
TM Support
Posts: 1141
Joined: 01 Dec 2020, 11:50
China

Re: Unable to change file folder permissions

Post by RyanYang »

Thank you for your feedback. We will verify it and perhaps you can try selecting 'Replace the permissions of all subdirectories with the permissions of the folder' when editing the shared folder.
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)
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Unable to change file folder permissions

Post by Gremlin »

TMRyan wrote: 15 Jul 2024, 23:52
Tried all of that, thanks.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
Post Reply

Return to “Privileges”