Public bug reported:

This is probably hal/pmount related, but I'm really not sure.

There seems to be a problem mounting partitions.
my /etc/fstab.conf contains those line
/dev/sda1 /media/hda1 ntfs-3g 
exec,noauto,defaults,user,uid=vince,locale=en_US.utf8 0 0
/dev/sda3 /media/storage vfat exec,noauto,defaults,user,uid=vince 0 0
AFAIK, the noauto will cause the drives to be mounted when gnome starts so that 
their icon will appear on the desktop.
mount reports
/dev/sda1 on /media/hda1 type fuseblk 
(rw,noexec,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sda3 on /media/storage type vfat (rw,noexec,nosuid,nodev,uid=1000)
The noexec flag is set while it should be "exec".
I noticed some options in gconf-editor concerning file systems 
(system/storage/default_options) and there also the exec flag is set.

Pretty much the same thing happens with an external USB drive. 
When I plug my external hard drive (ext3 and vfat partitions on it), I get this
/dev/sdb2 on /media/SG-FAT32 type vfat 
(rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077)
/dev/sdb1 on /media/SG-EXT3 type ext3 (rw,noexec,nosuid,nodev)
here, suddenly, the vfat one allows exec while the ext3 has noexec.
Here again, it seems simply impossible to set it up so that it has exec.

Step to reproduce:
Problem A : 
- Have a vfat partition on a computer
- set the fstab entry to "exec" and "noauto" for the device
- when you enter gnome after bootup, the device will be mounted as noexec

Problem B :
- Have an external drive with an ext3 partition (no references to it in fstab)
- Plug it in
- It gets mounted as noexec

Current solution :
Unmount the device and remount it with noexec. Works but my Grandmother 
couldn't do it, plus, it's quite annoying to do it at every boot on a laptop 
for 4 different partitions.

** Affects: Ubuntu
     Importance: Undecided
         Status: Unconfirmed

-- 
partitions get mounted with noexec flag against fstab will
https://bugs.launchpad.net/bugs/105723
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to