System Management
The /srv/uploads filesystem is already mounted read-write and is in use by a web application that accepts file uploads. Security policy now requires that nothing on it can be executed, that setuid bits are ignored, and that device files are not interpreted. The change must take effect without unmounting. Which command does this?
Show the answer
Correct answerC. mount -o remount,noexec,nosuid,nodev /srv/uploads
remount changes the options of an active mount, and noexec, nosuid and nodev block execution, setuid privileges and device nodes. Omitting remount fails because the filesystem is already mounted, and adding ro would stop the application from writing uploads.