Comment 0 for bug 453605

Revision history for this message
Rey Tucker (rtucker) wrote : vfat removable media defaults to world-readable files

Binary package hint: devicekit-disks

Greetings!

After upgrading from 9.04 to 9.10, mounting removable USB media (e.g. a thumbdrive) from Nautilus defaults the umask/fmask such that all of the files are 0755 (world readable/executable). While the dmask is set such that directories themselves are 0700, this does trip out software that is paranoid about security (e.g. ssh-add, for a private key stored on a thumbdrive).

Ideally, the umask should set the files to 0600 or 0700 by default. Even better, there should be an easy way to configure this (perhaps through the existing gconf system, which has /system/storage/default_options/vfat/mount_options ?).

$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
$ apt-cache policy devicekit-disks
devicekit-disks:
  Installed: 007-2ubuntu2
  Candidate: 007-2ubuntu2
  Version table:
 *** 007-2ubuntu2 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: i386
CustomUdevRuleFiles: 85-brltty.rules 025_libticables.rules 025_libchipcard.rules
Date: Fri Oct 16 19:51:34 2009
DistroRelease: Ubuntu 9.10
MachineType: VIA Technologies, Inc. FX43
NonfreeKernelModules: nvidia
Package: devicekit-disks 007-2ubuntu2
ProcCmdLine: root=UUID=db0ef1e1-3015-4cd9-b92a-012fdf82bbbf ro ROOTFLAGS=syncio quiet splash crashkernel=384M-2G:64M@16M,2G-:128M@16M
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
SourcePackage: devicekit-disks
Uname: Linux 2.6.31-14-generic i686
dmi.bios.date: 12/30/2003
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: FX43
dmi.board.vendor: SHUTTLE INC
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd12/30/2003:svnVIATechnologies,Inc.:pnFX43:pvr:rvnSHUTTLEINC:rnFX43:rvr:cvn:ct3:cvr:
dmi.product.name: FX43
dmi.sys.vendor: VIA Technologies, Inc.