Am Freitag, 12. August 2005 17:33 schrieb ext [EMAIL PROTECTED]: > i've found that i could not access the mounted > directory with non-root users. > 1. i "chown" directories under "/mnt" to the user, > but so long as i mount, the permission of the > specific dir will be changed to "drwx------" and > owner changed to root automatically.
Yes, of course. After mounting, the directory has the permissions of the
_mounted_ filesystem, so you need to chown/chmod afterwards. However, that
only works with filesystems that know about unix permission.
> 2. i try to use a mount option "users",
> $> mount /dev/hda6 /mnt/win -o rw,users
I guess you're trying to mount some Windows filesystem. See above, they
don't know unix permissions.
You have to use the uid option when mounting, see "man mount" for details.
HTH...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: [EMAIL PROTECTED]
Hambornerstraße 55 | Web: http://www.capgemini.com
D-40472 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
pgpTuobBRsS02.pgp
Description: PGP signature

