On Sun, Aug 1, 2010 at 10:07 PM, Neel Mehta <neelmeht...@gmail.com> wrote:

> Thanks for your replies.
>
> "user" is to allow the user to mount the partition and to unmount it and no
> other user other than which mounted it should be allowed to unmount it. for
> "users", anyone can unmount it.
>
> the "uid" parameter does not work for ext4 partition.
>
> the options that i have now are default,auto. i just had to change file
> permissions as Nitesh mentioned. actually, the folder /media/DISK1_VOL2 was
> a root folder as it was created by mount, and hence I did not have any
> permissions for that. so, i was unable to create any file/folder. but i m
> still surprised by the fact that i can create files inside another partition
> (/media/DISK1_VOL1) which is of ntfs format, even though the DISK1_VOL1
> folder is a root folder.
>
Thats because the ntfs mount (either default ntfs or ntfs-3g) allows the gid
uid parameters  in the fstab entries. for ext4 you
would have to make the user the owner of the mounted folder. You can
probably use pmount if you wish to allow mounting for non-root (sudo) users.

>
> Thanks and Regards,
> Neel Mehta
> Fourth year Undergraduate student,
> Electrical Engineering,
> IIT Bombay
>
>
> On Sun, Aug 1, 2010 at 9:05 PM, Nitesh Mistry <mail...@mistrynitesh.net>wrote:
>
>> On Sun, Aug 01, 2010 at 08:55:05PM +0530, Nitesh Mistry wrote:
>> > Try adding 'uid=1000' to the options. It solved my problem.
>>
>>
>> I guess I was a little short on explanation. '1000' here denotes my user
>> id. Yours may be different (ie. if your's was not the first user to be
>> created on the system). To find your uid, type 'id' in the terminal, and
>> it will give you your uid number.
>>
>>
>> --
>> Regards,
>> Nitesh Mistry
>> www.mistrynitesh.com
>>
>>
>> -----BEGIN GEEK CODE BLOCK-----
>> Version: 3.12
>> GB/J/IT/O>TW d+(-) s+:+>: a- C+ UL>+++ P L++>+++ !E W++ N* o? K? w--- O?
>> M-- V? PS+() PE(++)(-) Y+ PGP+ t 5? X R tv+ b+ DI D G e+++>++++ h-- !r y?
>> ------END GEEK CODE BLOCK------
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkxVlEkACgkQUc4Z+sxYBBZVSwCgtvAbM4nETgVSSYmW5RNG11+m
>> /5IAn0PSUYtFizNCng96tliu7xGmNpji
>> =JuGa
>> -----END PGP SIGNATURE-----
>>
>>
>> --
>> ubuntu-in mailing list
>> ubuntu-in@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>
>>
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to