In /etc/fstab:
$DEVICE $MOUNT_POINT $FS_TYPE uid=$UID,gid=$GID 1 2
- replacing:
- $DEVICE with the actual device name
- $MOUNT_POINT with the actual mount point
- $FS_TYPE with the actual filesystem type
- $UID with the actual UID of the user you want to own all files, etc. on the filesystem
- $GID with the actual GID of the group you want to own all files, etc. on the filesystem
EXAMPLE:
/dev/hdd1 /fs1 vfat uid=251,gid=251 1 2
Then just mount it. It will be remounted upon each reboot.
cjs
On Fri, 2003-12-26 at 13:10, Trevor Smith wrote:
On Wed, 24 Dec 2003 12:45:39 -0200, Rodrigo Malara wrote: >I experienced this problem too and it appears to be related to the >filesystem type, because it only happened to vfat filesystems. >I remember that a solution was related to setting the proper option when >mounting the filesystem... Indeed. It was on a Fat32 disk that I was trying to do this (it's a shared disk). Hmm... so once again I have to wade through the incomprehensible man pages for mount. I'm about ready to give up trying to learn on my own and take a frigging linux course. :-(