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 ?).
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 us.archive. ubuntu. com karmic/main Packages dpkg/status
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://
100 /var/lib/
ProblemType: Bug iles: 85-brltty.rules 025_libticables .rules 025_libchipcard .rules dules: nvidia db0ef1e1- 3015-4cd9- b92a-012fdf82bb bf ro ROOTFLAGS=syncio quiet splash crashkernel= 384M-2G: 64M@16M, 2G-:128M@ 16M ature: Ubuntu 2.6.31- 14.47-generic echnologies, LTD:bvr6. 00PG:bd12/ 30/2003: svnVIATechnolog ies,Inc. :pnFX43: pvr:rvnSHUTTLEI NC:rnFX43: rvr:cvn: ct3:cvr:
Architecture: i386
CustomUdevRuleF
Date: Fri Oct 16 19:51:34 2009
DistroRelease: Ubuntu 9.10
MachineType: VIA Technologies, Inc. FX43
NonfreeKernelMo
Package: devicekit-disks 007-2ubuntu2
ProcCmdLine: root=UUID=
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
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:bvnPhoenixT
dmi.product.name: FX43
dmi.sys.vendor: VIA Technologies, Inc.