Kent West: > > I have a partition that I'm mounting in a specific user's home directory, > and want that user to be able to read/write to that partition. > > However, I've been unable to find (google, man, etc) any way to accomplish > this; the few hints I have found indicate it works fine with a VFAT > partition, or that you can manually chown the perms after the mount, but it > seems crazy to me that you'd not be able to set ownership at mount time.
As far as I know, you can't. And I think this is reasonable, since ownership info is stored in the filesystem itself (as opposed to VFAT, which doesn't know the concept of ownership at all). Are you aware that you only need to tweak the permissions to your liking once? Just create an ext2/3 filesystem, mount it as root and then change the permissions of the mount point. This will affect the root directory of your new file system and doesn't affect the mount point's permissions. (Sounds weird, but if you think about it, it's the best thing to do.) After that, set up a line in your fstab (with the "user" option) and you're done. Then any user may mount the filesystem, but only the user who mounted it (and root, of course) may umount it. J. -- After the millenium I will shoot to kill. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html>
signature.asc
Description: Digital signature