mount -u -r drops nosuid ?

Andriy Gapon avg at icyb.net.ua
Mon Nov 21 10:40:37 PST 2005


on 21/11/2005 15:43 Lowell Gilbert said the following:
> The behaviour is explicitly documented.
> 
> I think it is safer (less room to shoot yourself in the foot) to have
> the flags be exactly the ones you specified in the remount (no more,
> no less) than to have to know exactly what the state was beforehand.
> But clearly it's possible to surprise the operator either way.

Actually, somebody (Vasiliy <security at gugol.ru>) off the list tought me
 about -o current option to mount. Really useful, I wonder how I managed
to not notice it so far. Thanks Vasily!

-- 
Andriy Gapon


More information about the freebsd-fs mailing list