Sample Header Ad - 728x90

How-to prevent users from changing the ownership or the permissions on a posix filesystem

0 votes
0 answers
48 views
My question might look silly because I'm coming from a Windows / NTFS background. We have a linux filesystem shared across several people. The tree looks like this:
- /data
  |- shared
     |- Alice
     |- Bob
We have set up the permissions on the shared folder with the following permissions drwxrwsr-x and ownership as head_of_department:department. We noticed that, over time, the permissions got changed. Unfortunately, I cannot seem to find resources on this specific topic on the web. Is there a way we can _lock_ the permissions to the ones we want? Or should we have some cron job that resets the permissions periodically?
Asked by E. Jaep (137 rep)
Sep 18, 2024, 04:54 PM