Is there an ideal chmod for /tmp (with /var/tmp symlinked to /tmp)?
I've seen people mention it both ways just curious as to the difference.
Is it a security difference?
on 02/08/2013 – Made popular on 02/08/2013
I'm "hacking" an ARM-base quadcopter running a stripped down Linux as part of a class assignment, and after getting into it using telnet and getting access to the bash terminal, and then messing around the file system I wanted to see what commands were available and how I could mess with it.
when I tried opening google-chrome in Ubuntu 12.04 LTS, I received the following error:
[1976:2032:299999600:ERROR:shared_memory_posix.cc(171)] Creating shared memory in /dev/shm/.com.google.Chrome.0ApmLo failed: No such file or directory
[1976:2032:299999742:ERROR:shared_memory_posix.cc(174)] Unable to access(W_OK|X_OK) /dev/shm: No such file or directory
I noticed while answering another question that test and [ are different binaries, but the [ manpage pulls up test's. Besides the requirement for an ending ], is there any difference? If not, why are they separate binaries instead of being symlinked? (They are also bash builtins, and bash doesn't show a difference either.)
Hi guys I have set up a small shared hosting set up for friends.
I have set the file chmod permissions to
chmod 711 /home
chmod 711 /home/testuser
chmod 755 /home/testuser/public_html
chmod o+r /home/testuser/public_html/index.htm
How do I stop the user connected to their own ftp from deleting the html.htm file and also with the public dir set to chmod 755 I find they can't do anything in the di