Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux permissions
#3
Read only for who? Normal users should only have read/write access in their /home directory, /tmp and possibly something like /local. If you need to write files elsewhere it should be done as root.

If you really need to change permissions for a directory (and make sure you really want to since Unix file permissions are that way for a reason) you can do this:
Code:
chmod a+wrX -R some_directory
Which will recursively apply read/write permissions (with execute for all things which already have it) to the given directory. It is fairly rare that you would want to do this though.
esus saves.... Passes to Moses, shoots, he scores!
Reply


Messages In This Thread
Linux permissions - by wallace - 02-24-2007, 05:27 AM
Linux permissions - by Skyler - 02-24-2007, 06:37 AM
Linux permissions - by LooseCaboose - 02-24-2007, 07:23 AM
Linux permissions - by Anonymous - 02-24-2007, 03:56 PM
Linux permissions - by Skyler - 02-24-2007, 08:49 PM
Linux permissions - by Kevin_theprogrammer - 02-24-2007, 09:45 PM
Linux permissions - by Skyler - 02-25-2007, 02:06 AM
Linux permissions - by red_Marvin - 02-26-2007, 02:18 AM
Linux permissions - by Anonymous - 02-28-2007, 09:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)