found it! You can set a umask in the options. 
/dev/sda1 /home/jack/.crypto vfat
user,iocharset=iso8859-1,kudzu,codepage=850,noauto,noexec,sync,umask=0077 1 2

On Wed, 2003-01-15 at 14:49, Jane wrote:
> Add 
> mode=0600 
> to the fstab entry
> 
> -----Original Message-----
> From: Jack Coates [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 2:13 PM
> To: [EMAIL PROTECTED]
> Subject: [expert] vfat mounting
> 
> 
> I've got a removable media device (sony memorystick) formatted as vfat
> which I'm mounting as my home of tiny super-secret stuff like gnupg
> and
> figaro's password manager. The problem is that it insists on mounting
> with some overgenerous permissions:
> [jack@chupacabra jack]$ grep crypto /etc/fstab
> /dev/sda1 /home/jack/.crypto vfat
> user,iocharset=iso8859-1,kudzu,codepage=850,noauto,exec 1 2
> [jack@chupacabra jack]$ ls -la | grep .crypto
> drwxrwxr-x    4 jack     jack        16384 Dec 31  1969 .crypto/
> 
> I've been reading the mount and umask man pages and STFWing, but I
> can't
> figure out how to make it mount with reduced permissions... something
> like 600 would be more like it.
> -- 
> Jack Coates
> Monkeynoodle: A Scientific Venture...
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to