Re: root created partition not writable by user

2003-02-20 Thread marc dobler
THANK YOU everybody for your advices. finally, with : chown user:group dir , and chmod 1777 dir, it seems to be working. i will consider later the /tmp permission structure. tests are always the best way to understand a system ! Marc -- redhat-list mailing list unsubscribe m

Re: root created partition not writable by user

2003-02-20 Thread Mario M. Macaluso
On Thu, Feb 20, 2003 at 02:03:13PM -1000, Jacky Li wrote: > how about the same permission structure as your /tmp directory? in octal mode ( from rigth to left) 7 for the other 7 for the group 7 for the owner ? your question ( 4: set user ID bit, 2: set group ID bit, 1: sticky bit ) so the answ

Re: root created partition not writable by user

2003-02-20 Thread Bret Hughes
On Thu, 2003-02-20 at 02:30, marc dobler wrote: > 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

Re: root created partition not writable by user

2003-02-20 Thread Jacky Li
how about the same permission structure as your /tmp directory? - Original Message - From: "Mario M. Macaluso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 1:40 PM Subject: Re: root created partition not writable by user > On T

Re: root created partition not writable by user

2003-02-20 Thread Mario M. Macaluso
On Thu, Feb 20, 2003 at 08:37:10AM -, Cannon, Andrew wrote: [ ... ] > chmod 766 directory (for rwx as root and rw for group and global) 766 for regular file 777 for directories [ ... ] -- Mario Michele Macaluso -o) | Klein bottle for rent -- inquire within. m.macaluso .@. li

RE: root created partition not writable by user

2003-02-20 Thread marc dobler
thank you Andrew for your very clever suggestion. i just forgot to change the ownership of the newpart_dir. unfortunately, this procedure does not seem to work properly in my case : /dev/sdb5 is located on an external HDD. chown user:group newpart_dir works instantaneously and perfectly, b

RE: root created partition not writable by user

2003-02-20 Thread Cannon, Andrew
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 (sa