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 1E3bhy-0008RZ-Ip for garchives@archives.gentoo.org; Fri, 12 Aug 2005 15:44:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7CFgAC5022393; Fri, 12 Aug 2005 15:42:10 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 j7CFYure022172 for ; Fri, 12 Aug 2005 15:34:57 GMT Received: from [58.33.63.152] (helo=daniel.home) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E3bZa-0000Qp-Jt for gentoo-user@lists.gentoo.org; Fri, 12 Aug 2005 15:35:57 +0000 Received: by daniel.home (Postfix, from userid 1000) id D90CDFA5E; Fri, 12 Aug 2005 23:33:45 +0800 (CST) Date: Fri, 12 Aug 2005 23:33:45 +0800 From: danielhf@21cn.com To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] how to access mounted dir with non-root? Message-ID: <20050812153345.GA7635@daniel> Mail-Followup-To: gentoo-user@gentoo.org 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: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Archives-Salt: 97dc51ab-afba-4fc5-ba1b-f5a4440431d9 X-Archives-Hash: fb5214bbcf89f8fa92d1ec00605e1915 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. 2. i try to use a mount option "users", $> mount /dev/hda6 /mnt/win -o rw,users no luck somehow as well. 3. i would not use "sudo" to do this, i believe there is a way to solve the problem. and not sure "sudo" will work. any ideas about this? thanks a lot in advance best regards daniel -- gentoo-user@gentoo.org mailing list