Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Server Platforms
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Server Platforms
Discussion regarding any server based ubuntu release.

 
Thread Tools Display Modes
Old June 14th, 2006   #1
panzi
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 1
cannot execute files from other partition

Hi.

I cannot execute any files from my /dev/hda1 disk. The exec option is set, but when I mount it, the noexec option is set!

Code:
mount
/dev/hdb1 on / type reiserfs (rw,notail)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/hda1 on /mnt/data type reiserfs (rw,noexec,nosuid,nodev,notail)
This is my fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>      <options>                                <dump> <pass>
proc            /proc           proc        defaults                                  0     0
/dev/hdb1       /               reiserfs    notail,atime,auto,rw,dev,exec,suid,nouser 0     1
/dev/hdb5       none            swap        sw                                        0     0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto                               0     0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto                               0     0
/dev/fd0        /media/floppy0  auto        ,atime,noauto,rw,dev,exec,suid,user       0     0
/dev/sda1       /media/usb0     auto        ,atime,noauto,rw,dev,exec,suid,user       0     0
/dev/hda1       /mnt/data       reiserfs    notail,atime,auto,rw,dev,exec,suid,user   0     0

/tmp/app/1/image /tmp/app/1 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/2/image /tmp/app/2 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/3/image /tmp/app/3 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/4/image /tmp/app/4 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/5/image /tmp/app/5 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/6/image /tmp/app/6 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
/tmp/app/7/image /tmp/app/7 cramfs,iso9660 user,noauto,ro,loop,exec 0 0
what the hell is going on an how can I fix that crap?
panzi is offline   Reply With Quote
Old June 14th, 2006   #2
Sutekh
Chocolate-Covered Ubuntu Beans
 
Join Date: Oct 2005
Location: Sydney
Beans: 1,983
Xubuntu 6.06
Re: cannot execute files from other partition

The only thing I can think of is the fact that user implies the options noexec, nosuid, nodev unless you specify otherwise.

Seeing as you have specified exec, suid, dev the only thing I can think of the order of the options.

It could possibly be that setting user after exec over-rides it with noexec?

Try placing the user option before specifying the other options
Quote:
/dev/hda1 /mnt/data reiserfs user,notail,atime,auto,rw,dev,exec,suid 0 0
Sutekh is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:22 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry