The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to copy owner permissions to group ynixon UNIX for Dummies Questions & Answers 4 09-04-2008 07:29 AM
How to set the name of the group and the owner while creation of the file? nehak UNIX for Dummies Questions & Answers 2 04-23-2008 05:26 AM
Rsync - Preserve owner/group with different UID/GID Santi Shell Programming and Scripting 1 12-02-2007 03:16 PM
permission, owner and group pascalbout Shell Programming and Scripting 2 01-14-2006 08:47 AM
Can't change owner and group of a linux file bache_gowda UNIX for Dummies Questions & Answers 7 06-26-2003 07:08 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-12-2002
Registered User
 

Join Date: Jul 2002
Posts: 7
owner and group in Linux

I am bit unclear of how Linux was set in the real world, please advise me how it's supposed to be.

When I log in as root and do a ls -l, I find: /boot, /, /var, /usr, /tmp, /home, /u01, /u02, /u03 and of of this partition is owned by root and the group also belong to root. Is that the way it's supposed to be??? or I should change /u01, /u02, /u03 to different owner beside root???

Please advise me what I should do.

Thanks so much everyone.
Forum Sponsor
  #2  
Old 07-16-2002
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
This is for HPUX, your results may vary...

All base level, root level, "directories" should be owned by root:sys or root:bin, in almost every case. There may be some exceptions to this.


However, for mounted filesystems, mine are owned by bin:bin.

It really depends on the OS. You need to go to the website for your flavor of UNIX and see what they recommend.

#cd /
# ll |grep ^d|grep bin
dr-xr-xr-x 57 bin bin 5120 Jun 15 07:49 dev
dr-xr-xr-x 26 bin bin 7168 Jul 16 09:39 etc
dr-xr-xr-x 10 bin bin 1024 May 31 14:46 home
dr-xr-xr-x 37 bin bin 1024 Jun 12 14:03 opt
drwx--x--x 18 root bin 2048 Jul 16 08:57 root
dr-xr-xr-x 12 bin bin 3072 Mar 16 07:22 sbin
dr-xr-xr-x 7 bin bin 1024 Jun 15 07:36 stand
drwxrwxrwt 9 bin bin 49152 Jul 16 09:52 tmp
dr-xr-xr-x 25 bin bin 1024 May 18 09:35 usr
dr-xr-xr-x 23 bin bin 1024 May 18 09:35 var
__________________
My brain is your brain
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0