We are working on CentOS and our data servers are running FreeNAS.
We have a few shared projects automounted in
Each times a user delete a file in those shared projects, it results in the creation of a
.Trash-uid folder at the root of this specific project.
This means that we can have a lot of
.Trash-* folder in all those shared projects. This can become a real mess.
/shared_projects/projectA/.Trash-uid1 /shared_projects/projectA/.Trash-uid2 /shared_projects/projectA/.Trash-uid3 /shared_projects/projectB/.Trash-uid1 ....
Cleaning all those folders requires a lot of time since permissions of those trashes are owner only. Each time we want to clean those, we need to ssh as root onto the specific server, remove those file. Same for next server...
Is there a way to force a different umask for those Trash folders? That will allow us to clean them from one workstation without root permissions.
Umask is already set for all users to
0002 but trashes don't follow it.
Projects are shared through NFS.