Package: pmount
Version: 0.8-2


1) use umask determined mount options rather than hardcoded options

A filesystem can generally be mounted privately for a single user/group or 
shared.

It should be a sane default to mount privately. I.e. this is with the system's 
umask. (When detecting the umask note that umask might be set diferently for 
root, and thus for the running script than for the users)


Optionally provide an option to mount with less (i.e. userdefined) 
restrictions/other group. (Might be fixed upstream already.)


For best VFAT integration not only on multi user systems here are tested mount 
options:

On systems that use umask 002 add

",quiet,shortname=mixed,dmask=0002,fmask=0113" to the vfat mount options.

On systems with umask 022 add
",quiet,shortname=mixed,dmask=0022,fmask=0133" to the vfat mount options.


Non-english systems benefit using multilingual codebase with
",codepage=850" in the vfat mount options.

 
If the system uses UTF8 also add
",iocharset=utf8" to the vfat mount options.



2) mount races

Users should be able to trust their media.
Example: If one user inserts a medium in a drive or plugs it into a connector 
onother user could mount and have the media manipulated before the owner gets 
to it. Same between unmounting and ejecting/unplugging.

Not only for this case some kind of locking mechanism would be needed. 
Unfortunately there was no developer reaction upon a query on the list:
http://mail.gnome.org/archives/utopia-list/2005-October/msg00034.html




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

Reply via email to