Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165369

Summary: hal mounting with 'exec' by default
Product: Gentoo Linux Reporter: Paulo J. Matos <paulo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED UPSTREAM    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Makes hal 0.5.8.1 mount with exec option by default

Description Paulo J. Matos 2007-02-05 00:19:53 UTC
hal by default passes noexec option for mounting unless you override it using the exec option. This is a problem when you use, for example, KDE which uses hal and doesn't allow you to specify which options to mount with.
 
So, it would be nice to patch hal so that exec becomes a default. Maybe it would be nice to enable to use the patch conditionally through an exec use flag.

Reproducible: Always

Steps to Reproduce:
1. Connect device not found in fstab
2. Open media:/ in konqueror
3. Mount
4. Try to run script inside device

Actual Results:  
Result is 'access denied' because it was mounted with noexec flag.
Comment 1 Paulo J. Matos 2007-02-05 00:21:13 UTC
Created attachment 109187 [details, diff]
Makes hal 0.5.8.1 mount with exec option by default
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 00:27:20 UTC
Get such stuff accepted upstream, please.
Comment 3 Paulo J. Matos 2007-02-05 09:20:03 UTC
I'm sorry but what do you mean by that? 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 22:33:23 UTC
(In reply to comment #3)
> I'm sorry but what do you mean by that? 

Not a Gentoo bug, we are not going to change upstream defaults.
 
http://www.freedesktop.org/wiki/Software/hal