On Sb, 15 mar 14, 20:29:41, Paul E Condon wrote: > I have a 4GB thumb drive that I have formatted with two > partitions: > > #1 is 100MB with vfat format > #2 is all the rest with ext4 format > > I want to set permissions so that I can read/write on partition #1 on > both my Squeeze computer and on a Windows box, both as a > non-privileged user.
vfat has no concept of privileges, it only matters how you mount it. A simple mount call will make all files appear to be owned by root, which you probably want to change. My own preference for system without automounting is to use the uid (and gid if necessary), dmask and fmask options in fstab to set permissions as I need them. If more than one user needs to access those files I use a 'share' group and make all other users a member of it. However, you might want to explain how you are usually mounting the thumb drive under Linux so that we can provide specific hints that are easier to integrate with your method. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt
signature.asc
Description: Digital signature