From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4YKv-0002Ig-VY for garchives@archives.gentoo.org; Mon, 15 Aug 2005 06:20:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7F6JOsI015092; Mon, 15 Aug 2005 06:19:24 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7F6FmoZ022644 for ; Mon, 15 Aug 2005 06:15:48 GMT Received: from mgw-ext04.nokia.com ([131.228.20.96]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E4YGc-0002CH-0G for gentoo-user@lists.gentoo.org; Mon, 15 Aug 2005 06:16:14 +0000 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-ext04.nokia.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j7F6Fr2M017526 for ; Mon, 15 Aug 2005 09:15:56 +0300 Received: from esebh002.NOE.Nokia.com ([172.21.138.77]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Aug 2005 09:16:12 +0300 Received: from louisa.europe.nokia.com ([172.25.104.26]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6881); Mon, 15 Aug 2005 09:16:12 +0300 From: Dirk Heinrichs Organization: Capgemini Deutschland GmbH To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to access mounted dir with non-root? Date: Mon, 15 Aug 2005 08:15:53 +0200 User-Agent: KMail/1.8.2 References: <20050812153345.GA7635@daniel> In-Reply-To: <20050812153345.GA7635@daniel> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3353836.cooeBc7HTZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508150816.02488.ext-dirk.heinrichs@nokia.com> X-OriginalArrivalTime: 15 Aug 2005 06:16:12.0311 (UTC) FILETIME=[D5A35270:01C5A160] X-Archives-Salt: 26588558-1b30-4c91-a581-be8950a8d27c X-Archives-Hash: 5e5b6b3e4412b35ba63c14995f5f151f --nextPart3353836.cooeBc7HTZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 12. August 2005 17:33 schrieb ext=20 gentoo-user+bounces-18312-ext-dirk.heinrichs=3Dnokia.com@gentoo.org: > 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=20 _mounted_ filesystem, so you need to chown/chmod afterwards. However, that= =20 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=20 don't know unix permissions. You have to use the uid option when mounting, see "man mount" for details. HTH... Dirk =2D-=20 Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com Hambornerstra=DFe 55 | Web: http://www.capgemini.com D-40472 D=FCsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net --nextPart3353836.cooeBc7HTZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.18 (GNU/Linux) iD8DBQBDADMi8NVtnsLkZ7sRAs9xAKCmSuFdVv30hx6FWA/hnRS55K60lwCffjYN MkkgKCx3qnKpar5lmc++cek= =mRB7 -----END PGP SIGNATURE----- --nextPart3353836.cooeBc7HTZ-- -- gentoo-user@gentoo.org mailing list