Results 1 to 5 of 5
What should the permissions and ownership be for:
/boot, /usr, /opt, /var, /home, /tmp?...
- 09-18-2011 #1Linux User
- Join Date
- Mar 2008
- Posts
- 287
Basic perms and owners
What should the permissions and ownership be for:
/boot, /usr, /opt, /var, /home, /tmp?
- 09-18-2011 #2
Typically, you should just leave them set for the default permissions.
Changing them could cause problems with your system, or even failure to boot.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 09-18-2011 #3
Something like this?
Code:drwxr-xr-x 2 root root 4.0K 2007-04-30 06:35 bin/ drwxr-xr-x 2 root root 4.0K 2010-09-20 16:49 boot/ drwxr-xr-x 13 root root 15K 2011-09-16 09:08 dev/ drwxr-xr-x 71 root root 12K 2011-09-10 14:09 etc/ drwxr-xr-x 11 root root 256 2010-10-13 14:43 home/ drwxr-xr-x 5 root root 4.0K 2010-09-20 16:12 lib/ drwx------ 2 root root 16K 2010-09-19 14:44 lost+found/ drwxr-xr-x 16 root root 4.0K 2011-07-14 19:51 media/ drwxr-xr-x 10 root root 4.0K 2006-09-26 05:09 mnt/ drwxr-xr-x 6 root root 4.0K 2011-03-24 10:59 opt/ dr-xr-xr-x 171 root root 0 2011-07-14 21:50 proc/ drwx--x--- 15 root root 4.0K 2011-09-10 14:02 root/ drwxr-xr-x 2 root root 12K 2010-09-20 16:12 sbin/ drwxr-xr-x 2 root root 4.0K 2010-09-20 16:04 srv/ drwxr-xr-x 12 root root 0 2011-07-14 21:50 sys/ drwxrwxrwt 12 root root 4.0K 2011-09-18 15:46 tmp/ drwxr-xr-x 19 root root 4.0K 2009-01-05 22:07 usr/ drwxr-xr-x 17 root root 4.0K 2009-05-06 19:43 var/
Can't tell an OS by it's GUI
- 09-18-2011 #4Linux User
- Join Date
- Mar 2008
- Posts
- 287
Thanx Freston exactly what was needed.
- 10-03-2011 #5
typically, any root directory should be rwx for root, x only for everyone else. a user's home directory should be rwx for the user only. /opt is ... well... opt so set it to whatever you want.


Reply With Quote