Skip to main content
6 events
when toggle format what by license comment
Mar 3, 2019 at 10:56 comment added wtz In fact, I'm running untrusted codes (similar to student's homework) on the system, so I need to make restrictions so that the unstrusted program won't mess up the system. I placed the program in /tmp/hello, and I want to make sure this program can only create files in the same directory of the program.
Mar 3, 2019 at 10:50 vote accept wtz
Mar 3, 2019 at 10:34 answer added user2233709 timeline score: 0
Mar 3, 2019 at 10:28 comment added Kusalananda /tmp is usually a quite special directory in that everyone is allowed to create files and directories in it. Is there a particular reason you'd want to disallow this user from creating files under /tmp? Does it have to do with the location of temporary files? If so, does the software that you use honour the TMPDIR environment variable (you would use it to specify another directory to create temporary files in). In short, what is the underlying problem that you are trying to solve?
Mar 3, 2019 at 10:25 review First posts
Mar 3, 2019 at 11:00
Mar 3, 2019 at 10:24 history asked wtz CC BY-SA 4.0