On Fri, 11 Jul 2003 14:40:40 -0700
Condon Thomas A KPWA <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to