On 12/16/05, Amol Bharat <[EMAIL PROTECTED]> wrote:
> Recently I'd mounted DOS partition,  but it allowed writing only when
> I log in as root. I logged in as room and tried to change permission
> (e.g chmod 666 a.txt) for file from 644 to 666, but it returns
> permission denied.  Please suggest.
>  Also let me know, can I get Mandriva CDs burnt from anyone here amongst PlUG.
> Thanks in advance
> Amol

This is the mount command format that I use

# mount -o uid=500,gid=100 /dev/hdc1 /mnt/hdc1

Setting the UID & GID flags in the above command makes the user 500
(me) the owner of all files and folders on the partition.
Alternatively you can set umask=000 instead of uid or gid, this will
give rwxrwxrwx permission to all files & folders on the disk. I don't
use this as my roomies can then delete files on this partition (they
are not supposed to) from their login.

Vivek


--
Registered Linux User #374218

Minister of Offense, Preserver of the Way
of the Great Llama, Ambassador to India
for the Republic of Loungevania

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to