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

Itroductry info on permission issues and implications - where? -was [Re: permissions on a Verbatim USB external drive]



João Luis Meloni Assirati wrote:
[snip]

Since vfat filesystems don't hold UNIX permissions, it has
to be mounted with the umask and/or uid, gid options. If it
is plugged through USB and you have a mount desktop service
communicating with dbus, all should be automatic. However,
if User mounts it in a static configuration in fstab, at
least the umask must be set. If this is the case, try an
fstab line like

/dev/sd??   /media/vfat   vfat
defaults,umask=0007,uid=User,gid=User 0   0

which grants permission for User. A more flexible
configuration would be to create a special group, say fat,
and add all users that need to access the disk to this
group, and then configure the fstab entry with
uid=root,gid=fat.

João Luis.


I understood enough of what you wrote to suspect source of (likely) unrelated problem I've had.

I've a collection of USB flash drives which, when plugged into a running Debian 6.0.5 system, do not mount in an apparently uniform manner.

The various drives may have been formatted:
1. by WinXP Pro SP3 as FAT16, FAT32, or NTFS
2. by gparted under Debian 6.0.5 as ext???, FAT16, FAT32, or NTFS
3. by the stand alone Live version of gparted as in #2

I don't have any current examples so I can not ask an answerable specific question.

Could someone point me to a broad intermediate level survey of permissions (issues and implications) in order that when (not if) I run into a problem I'll be able to ask an intelligent question? TIA



Reply to: