On Mon, 17 Nov 2003 23:31:59 +0530
Santanu Chatterjee <[EMAIL PROTECTED]> wrote:

> 
> The directory (actually it is placed in a partition) in question
> (/mnt/backup) has the following line in /etc/fstab:
> 
> So, after I mounted the partition as
> mount -t ext2 /dev/hda4 /mnt/backup
> there was no problem.
This mounts the file system with default options. So instead of
user,noauto you will have the default options i.e with rw, suid, dev,
exec,  auto,  nouser, and async.

>From the man page of mount
defaults
Use default options: rw, suid, dev, exec,  auto,  nouser, and async.

and 
exec   Permit execution of binaries.

So when defaults is specified it mounts with all the options including
the exec options. So exec is the option which you missed.

if you had specified exec,noauto,user as the option in the fstab then
you would have able to execute the binaries as well.

What i tried was give defaults,user as the option in the fstab and it
just ignores the defaults, so the exec was not included..


-G.Vinubalaji


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to