-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Bothwick wrote:
| On Thu, 17 Feb 2005 11:06:51 +0100, Holly Bostick wrote:
|
|
|>>The root of a partiton belongs to the user that mounted, whjich is
|>>root if it was mounted from fstab. Check out the uid and gid options
|>>in man mount to mount it as a different user. You need something like
|>>
|>>/dev/hdX /home/herb ext3 uid=xxx,gid=yyy,other,options 0 0
|>
|>I thought that the uid= and gid= options were specific to vfat
|>partitions (at least that's what man mount says).
|
|
| You're right, but I hit this problem once and fixed it. Maybe it was as
| simple as setting ownership of the mount point before attempting to mount
| the partition.
|
|

Once the filesystem is mounted, you can set the ownership and
permissions to whatever you want (as root).  Then just and the
entry to the /etc/fstab and each time it is mounted it will have
those permissions.

Mike

- --
Mike Noble
Email: [EMAIL PROTECTED]
Key ID: 0xFFDFC13B
Key fingerprint: 8204 1297 B9AD 0CED 2FCE  1FB0 9491 5824 FFDF C13B
Keyserver: http://pgpkeys.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCFNP4lJFYJP/fwTsRAuL7AJ9fUUmLpZiBhMuVlDiyxXqIpr8tPgCfUUrq
W+5ms079r8wdaBj18MWj0hU=
=i/Md
-----END PGP SIGNATURE-----

--
[email protected] mailing list



Reply via email to