2008/1/24, Sven Joachim <[EMAIL PROTECTED]>: > Hello Paul, > > On 2008-01-23 23:30 +0100, Paul Csanyi wrote: > > > I did the following steps: > > > > sudo aptitude update > > mount /media/usb0 > > apt-zip-list -m /media/usb0 -a dist-upgrade > > > > mount /media/usb0 > > try to run in the usb0/ > > > > ./fetch-script-wget-debian-asztal > > but get error message: > > bash: ./fetch-script-wget-debian-asztal: /bin/sh: bad interpreter: > > Permission denied > > > > How can I solve this problem? > > My crystal ball tells me that your drive is mounted with the `noexec' > option (this is the default for user-mountable devices). You need to > mount /media/usb0 with the `exec' option, like this: > > # mount -o exec /media/usb0 > > You need to be root to to this, but you can also specify the `exec' > option in /etc/fstab. See mount(8) for details.
I am using usbmount, so I must edit usbmount.conf. Yes, there was a noexec option that I change now to exec. :) FS_MOUNTOPTIONS="uid=1000,gid=1000,umask=022,exec,\ nosuid,dmask=0007,fmask=0117" -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]