Tag Info

New answers tagged


A simple way (only usable if you're not root, else you can't do anything) : $ chown -R someuser:somegroup folder $ chmod a-x folder Now your user (which is different from someuser and doesn't belong to somegroup) can't access directory. To prevent folder renaming, you need to change perms on parent folder: $ chown someuser:somegroup <parent> $ ...


Providing you're not running the tests as root I don't think you need to corrupt the filename do do these tests Use chmod to remove execute permission, this will disable traverse so you can't cd into it. use chattr to make the directory immutable. You won't be able to rename or delete it. If you are using root Don't do that. If you think about it ...

Top 50 recent answers are included