Do you want to own this as root or change ownership to the user?

I've created partitions as root and then I use the command

chown user:group directory

to change ownership. The user can then write to the directory.

If you want to have read/write permissions but still retain ownership by
root (say to prevent deletion) then:

chmod 766 directory (for rwx as root and rw for group and global)

Hope this helps

Andrew

-----Original Message-----
From: marc dobler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 8:31 AM
To: [EMAIL PROTECTED]
Subject: root created partition not writable by user


hello ! 

i've just created a ext2 partition as root. 
but as normal user, no way to write in it ... 

basically, mounting by user is :

/dev/sdb5   /mnt/newpart   ext2   rw,user   0 0 

i tried many options, 
but no way to WRITE as normal user on the newpart ... 

what is wrong ? 
what are the good options to add ??? 

thank you for help

Marc





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


***********************************************************************************
 NNC Limited
 Booths Hall
 Chelford Road
 Knutsford
 Cheshire
 WA16 8QZ
 
 Country of Registration: United Kingdom
 Registered Number: 1120437
 
 This e-mail and any files transmitted with it are confidential and 
 intended solely for the use of the individual or entity to whom they   
 are addressed. If you have received this e-mail in error please notify 
 the NNC system manager by e-mail at [EMAIL PROTECTED]
***********************************************************************************



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to