From: Brandin C. <cha...@ya...> - 2005-09-26 00:51:26
|
--- John Walsh <dea...@nt...> wrote: > Not sure if this is a bug or just the way ROX-filer works. > I'm running the filer in ICEWM, fluxbox and XF4CE in Vector Linux 4.3. > > I've set up my windows partition in fstab to mount at boot with access to > all users like so: > > /dev/hda1 /mnt/win_c vfat rw,suid,dev,exec,auto,users,async 0 0 I'm not sure about the ROX-specific stuff, but I have to say this about the fstab entry: 'users' allows normal users to mount/umount the partition. It says nothing about users getting permissions to write or read files. 'vfat' has no concept of permission, so the vfat driver simulates UNIX permissions, usually based on the 'umask' of the user invoking the mount command. If the mount occured at startup, the user invoking the mount command was 'root'. To fix your problem, try this fstab line: /dev/hda1 /mnt/win_c vfat umask=0000,showexec,quiet,users 0 0 Explanations: 1. I removed rw,suid,dev,exec,auto,async from your mount-options (those are already defined implicitly--there's no reason to specify them again). 2. umask=0000: This means that file permissions are not masked for any user--full read-write permissions. 3. showexec: This means that the "x" bit of all non-directories is stripped off, except for files with "executable" extensions like .exe, .bat, .com. This means that files will appear to be normal files (non-executable) as you would expect, and that "executable" files in DOS appear to be executable. Usually the file-manager highlights executable files in a different color; so this setting is desirable. 4. quiet: This causes 'chmod' and 'chown' attempts to appear successful, even though the permissions cannot be represented on the vfat filesystem. This is because most file-managers (including ROX) try to copy permissions when copying files to the partition. The 'quiet' flag avoids error messages; it assumes that you _know_ that vfat can't represent the permissions, and that you don't want to be bothered about it. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |