Looking for a way to prevent a user from deleting files when put in the trash. Is there a script (or such…) to lock the trash so that files could not be placed in or preventing them from selecting Empty Trash?
as far, as I know, the trash is owned by the user. I guess, the only way, will be, to change the owner of each users trash and set up the preferences, that the user cannot put anything in the trash. BUT: It the user does that not with the GUI, he will still be able to delete files via the terminal. In my opinion, such a restriction does not make any sense
as far, as I know, the trash is owned by the user. I guess, the only way, will be, to change the owner of each users trash and set up the preferences, that the user cannot put anything in the trash. BUT: It the user does that not with the GUI, he will still be able to delete files via the terminal. In my opinion, such a restriction does not make any sense
I'd 2nd what
Also, if the users are admins, they can delete anything in the terminal, etc...
not helpful I know.. but I am just imagining what is going on with this user that your are trying to engineer such a solution. If they are a local admin, you have already given them the rights to do so, you could make a work flow to make an app/config/pref "self healing" with smart groups. if they aren't and you are trying to protect stuff in the in the users space it sounds like a whole other problem.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.