Executable?
David A. Bandel
david
Mon May 17 11:49:13 PDT 2004
On Fri, 11 Jul 2003 14:40:40 -0700
Condon Thomas A KPWA <tcondon at kpt.nuwc.navy.mil> wrote:
[snip]
>
> Anyway, it did get me thinking about the fact that the test directory
> is in its own partition, so I typed mount and found it to be mounted:
> /dev/hda8 on /nfcs type ext2 (rw,noexec,nosuid,nodev)
>
> What?!? No execution? So I checked /etc/fstab and it is listed:
> /dev/hda8 /nfcs auto defaults,user 0 1
>
> So where does this (rw,noexec,nosuid,nodev) come from? All of my
> partitions are mounted "defaults" and the others have only (rw).
>
> More importantly, how can I change it? If I unmount it and remount
> using: mount /dev/hda8 /nfcs
> it is mounted (rw) and I can execute the script.
man mount
/user
user by default is noexec,nosuid, and nodev -- to override:
user,exec,suid
(the options exec,suid,dev must follow user, not precede it)
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
Nemesis Racing Team motto
GPG key autoresponder: mailto:david_key at pananix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030711/892b6a2c/attachment.pgp
More information about the Linux-users
mailing list