Hi, Rogério

After sorting out bug #544806. I'm still able to create dir(s) in
/media/usb0/ for example, as a regular user. With:

#FS_MOUNTOPTIONS="-fstype=vfat,gid=floppy,dmask=0007,fmask=0117"

Even tho it is mounted with permissions of root:root

ls -la /media/usb0
total 452
drwxrwxrwx 12 root root 16384 2009-09-03 14:59 .
drwxr-xr-x 11 root root  4096 2009-09-03 14:47 ..
drwxrwxrwx  2 root root 32768 2008-01-15 10:59 MUSIC
drwxrwxrwx  5 root root 32768 2009-06-05 12:28 my-music
drwxrwxrwx  2 root root 32768 2008-01-15 10:59 PHOTO
drwxrwxrwx  2 root root 32768 2008-01-15 10:59 PLAYLISTS
drwxrwxrwx  4 root root 32768 2008-01-15 10:59 RECORD
drwxrwxrwx 14 root root 32768 2008-08-11 02:38 .rockbox
-rwxr-xr-x  1 root root 19362 2008-08-08 10:57 .scrobbler.log
drwxrwxrwx  5 root root 32768 2007-02-08 08:28 system
drwxrwxrwx  2 root root 32768 2009-09-03 14:59 test
drwxrwxrwx  2 root root 32768 2009-09-03 10:00 tmp
drwxrwxrwx  2 root root 32768 2008-12-02 08:37 .Trashes
-rwxr-xr-x  1 root root   512 2009-09-03 09:59 version.sdk
-rwxr-xr-x  1 root root   512 2009-09-03 09:59 VERSION.TXT

>From the above as a regular user I created the test/ dir and can also
mv files, dir(s) to any of the dir(s). And also rm anything, all as a regular
user.

With FS_MOUNTOPTIONS="-fstype=vfat,gid=floppy,dmask=0007,fmask=0117"
works as expected:

ls -la /media/usb0
total 420
drwxrwx--- 11 root floppy 16384 1969-12-31 19:00 .
drwxr-xr-x 11 root root    4096 2009-09-03 14:47 ..
drwxrwx---  2 root floppy 32768 2008-01-15 10:59 MUSIC
drwxrwx---  5 root floppy 32768 2009-06-05 12:28 my-music
drwxrwx---  2 root floppy 32768 2008-01-15 10:59 PHOTO
drwxrwx---  2 root floppy 32768 2008-01-15 10:59 PLAYLISTS
drwxrwx---  4 root floppy 32768 2008-01-15 10:59 RECORD
drwxrwx--- 14 root floppy 32768 2008-08-11 02:38 .rockbox
-rw-rw----  1 root floppy 19362 2008-08-08 10:57 .scrobbler.log
drwxrwx---  5 root floppy 32768 2007-02-08 08:28 system
drwxrwx---  2 root floppy 32768 2009-09-03 11:06 tmp
drwxrwx---  2 root floppy 32768 2008-12-02 08:37 .Trashes
-rw-rw----  1 root floppy   512 2009-09-03 09:59 version.sdk
-rw-rw----  1 root floppy   512 2009-09-03 09:59 VERSION.TXT

Hope this helps.

Thanks,
Michel



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to