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.62) (envelope-from ) id 1HLlXp-00033J-Ew for garchives@archives.gentoo.org; Mon, 26 Feb 2007 19:29:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1QJRvlk023743; Mon, 26 Feb 2007 19:27:57 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1QJKWDZ014380 for ; Mon, 26 Feb 2007 19:20:32 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id E0BE283428 for ; Mon, 26 Feb 2007 21:28:31 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JzSiiCVy0W8A for ; Mon, 26 Feb 2007 21:28:25 +0200 (SAST) Received: from bard.sybase.co.za (bard.sybase.co.za [192.168.2.6]) by cranium.sybase.co.za (Postfix) with ESMTP id 661058342B for ; Mon, 26 Feb 2007 21:28:25 +0200 (SAST) Received: from nazgul.sybase.co.za ([192.168.2.68]) by bard.sybase.co.za with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Feb 2007 21:22:19 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Question regarding dual boot accessibility... Date: Mon, 26 Feb 2007 21:18:38 +0200 User-Agent: KMail/1.9.6 References: <45E2D0FA.6040201@comcast.net> In-Reply-To: <45E2D0FA.6040201@comcast.net> 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="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702262118.38709.alan@linuxholdings.co.za> X-OriginalArrivalTime: 26 Feb 2007 19:22:19.0124 (UTC) FILETIME=[6E93D340:01C759DB] X-Archives-Salt: f859bb3b-4b65-4348-9b54-71d664681064 X-Archives-Hash: b69444820572fb7c5354054cceea7df2 On Monday 26 February 2007, Chris wrote: > Hello, > > I have a dual boot windows / Gentoo system. I have my NTFS (windows) > main partition listed in fstab with "user,noauto,nosuid, noatime". A > normal user can mount and umount it, but cannot change directories, > look at files, etc. as they'll get a permission denied error. When I > list the files and dirs, they all show up as belonging to > "root:root", with no access for group and others. > > My question is: Is there a way to allow normal users to at least > read these files and change dirs, short of chown and/or chmod on the > NTFS partition? ntfs does not understand unix permissions, so there is no concept of a unix owner and group. You use the uid and gid options to fudge one - normally root:root is ok. Then to set permissions, use the umask option. 0555 should be OK - read/execute for all. It must be 5 otherwise you can't cd into a directory. Actually you want fmask and dmask options like as in vfat, but mount -t ntfs doesn't support that, so you have to make do with umask. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list