Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • That "write/create folder/files in directories of other users" is the opposite of a jail. It needs extra permissions, not fewer. Commented Apr 10, 2014 at 20:48
  • setfacl to the user. Commented Apr 10, 2014 at 21:38
  • You also need to allow access to things like /etc for dns, username lookups, etc. Then /dev, /bin, /usr/bin, /lib64, etc. By the time you've added all the directories needed for normal operation, there's pretty much nothing left outside the jail. About the only thing I can think of is some stuff in /var. What is it you're hoping to prevent access to? Commented Apr 11, 2014 at 1:33
  • try jailkit olivier.sessink.nl/jailkit Commented Apr 11, 2014 at 5:16