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.60) (envelope-from ) id 1GHUH3-0008Vu-SQ for garchives@archives.gentoo.org; Sun, 27 Aug 2006 23:42:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7RNeaqV025124; Sun, 27 Aug 2006 23:40:36 GMT Received: from smtpq3.tilbu1.nb.home.nl (smtpq3.tilbu1.nb.home.nl [213.51.146.202]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7RNcZxe002479 for ; Sun, 27 Aug 2006 23:38:35 GMT Received: from [213.51.146.190] (port=40224 helo=smtp1.tilbu1.nb.home.nl) by smtpq3.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1GHTyL-0003Wi-Qh for gentoo-user@lists.gentoo.org; Mon, 28 Aug 2006 01:23:21 +0200 Received: from cc117081-a.gorre1.fr.home.nl ([217.120.145.219]:40257 helo=manuel.fawlty.mine.nu) by smtp1.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1GHTyK-0005Fp-NO for gentoo-user@lists.gentoo.org; Mon, 28 Aug 2006 01:23:20 +0200 From: Harm Geerts To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: fstab devmode Date: Mon, 28 Aug 2006 01:23:18 +0200 User-Agent: KMail/1.9.4 References: <1156704912.6541.9.camel@sysconcept.ca> <44F2123E.6060600@googlemail.com> <1156715972.6541.24.camel@sysconcept.ca> In-Reply-To: <1156715972.6541.24.camel@sysconcept.ca> 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: <200608280123.19278.harmgeerts@home.nl> X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean X-Archives-Salt: 1dc05daa-49a0-437c-b11d-acc0325dc1e5 X-Archives-Hash: 3330397c7f502f2468498e3b4fa888b8 On Sunday 27 August 2006 23:59, Joseph wrote: > Harm Geerts is right (thanks) "umask=0077" does what I need with dos > partition, when mounted, usb stick has a permission 700. > What would be an alternative for ext2 file system, umask doesn't work. I might be wrong but I'm guessing you want different permissions on the mountpoint. In that case you can simply `chmod 700 /mnt/your_stick` it with ext2 (while mounted). ext2 stores this and will use the same permissions the next mount. This is true for all filesystems that support permissions (which all normal linux filesystems do) umask is only intended to make up for the lack of file permissions on vfat. -- gentoo-user@gentoo.org mailing list