I have a FAT32 partition (/dev/hda7) that I want to be "mountable" as read/write by any user. The line I have in fstab for it is this:
/dev/hda7 /shared vfat rw,users 1 2
That seems alright, and any user can mount it, but the permissions are wrong (they can't cd into it, list contents, etc). When I try to change them, as root, with chmod 755, I get no error messages but the permissions stick at 744. They are 755 before mounting, but always revert to 744 afterwards. It's very simple and very frustrating. Any suggestions? I'm on Slackware 10 and here's the full "story:"
root@jbox:/# stat shared
File: `shared'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 305h/773d Inode: 131073 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-08-13 19:25:03.000000000 -0400
Modify: 2004-08-03 11:08:46.000000000 -0400
Change: 2004-08-13 19:26:48.000000000 -0400
root@jbox:/# mount shared
root@jbox:/# stat shared
File: `shared'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 307h/775d Inode: 1 Links: 9
Access: (0744/drwxr--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 1969-12-31 19:00:00.000000000 -0500
Modify: 1969-12-31 19:00:00.000000000 -0500
Change: 2004-08-13 19:25:39.000000000 -0400
root@jbox:/# chmod 755 shared
root@jbox:/# stat shared
File: `shared'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 307h/775d Inode: 1 Links: 9
Access: (0744/drwxr--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 1969-12-31 19:00:00.000000000 -0500
Modify: 1969-12-31 19:00:00.000000000 -0500
Change: 2004-08-13 19:27:06.000000000 -0400