Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mount options noexec,nosuid,nodev



I always seem to get bitten by this!

I had a power-outage yesterday, and at restart I disabled one of my filesystems in /etc/fstab (since a fsck of this fs takes a rather long time). After the reboot, I manually ran fsck and then mounted the filesystem with

	mount /myfs

Yes, I forgot to specify "-o exec,suid,dev" so I couldn't execute any scripts (or other executables).

But looking through the manual pages, there doesn't seem to be any indication on when "-o noexec,nosuid,nodev" becomes the default! (It seems not to be the default when mount is invoked during /etc/rc.d startup processing, but only after the system is up.)

Where is this documented? And perhaps the mount(8) man page might benefit if these options included an appropriate cross-ref?



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index