>>>>> "Indra" == Indraneel Majumdar <[EMAIL PROTECTED]> writes:

    Indra> Hi, You need to create a new group and put the user in that
    Indra> and make the mountpoint writable by that group. eg:

    Indra> chown root.newgroup mountpoint chmod g+rwx mountpoint

Rather than chanignt eh ownership of the mount point (which is of
dubious use), you should use the uid= and gid= options when
mounting the filesystem.  E.g. something like:

addgroup devhda3
adduser -G devhda3 someuser
echo "/dev/hda3 /c vfat gid=`grep ^devhda3: /etc/group | cut -d: -f3`,mode=775 0 0" >> 
/etc/fstab
mount /c

Now all users who belong to the group devhda3 will be able to
read/write files one the partition mounted on /c.

Regards,

-- Raju

    Indra> HTH, Indraneel

    Indra> On Sat, 17 Feb 2001, Anand Bisen wrote:

    >> Suppose i want to give one of my user the permission to write
    >> on my
    Indra> mounted /dev/hda1 (i.e. on /windows). How will i do
    Indra> that. By some mount
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/

----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to