[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Autofs not respecting uid in auto.removable

On Sat, 05 Mar 2011 19:28:39 +0530, L V Gandhi wrote:

> On Sat, Mar 5, 2011 at 5:21 PM, Camaleón wrote:

>> > Any solutions to mount with ownership of user?
>> As per "man 5 autofs":
>> (...)
>> If you use the automounter for a filesystem without access permissions
>> (like vfat), users usually can't write on such a filesystem because it
>> is mounted as user root. You can solve this problem by passing the
>> option gid=<gid>, e.g. gid=floppy. The filesystem is then mounted as
>> group floppy instead of root. Then you can add the users to this group,
>> and they can write to the filesystem. Here's an example entry for an
>> autofs map:
>> floppy-vfat  -fstype=vfat,sync,gid=floppy,umask=002  :/dev/fd0 ***

> Thanks again for your time in helping. However I have achived what I
> wanted by using udev rules as mentioned in
> http://okomestudio.net/biboroku/?p=1402

Ah, good.

Autofs should also work fine, just it needs the GID, as manual says, when 
it comes to vfat volumes.



Reply to: