mount -u -r drops nosuid ?

看板FB_security作者時間20年前 (2005/11/21 20:57), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
Not sure if this is a bug or a feature, but it seems like potential security risk: I have a ufs fs mounted rw+nosuid, then I needed to downgrade it to ro, so I executed mount -u -r on it - imagine my surpise when I found that nosuid flag was removed as well. I know I could have used mount -u -r -o nosuid, but the present behavior seems to be non-obvious (update one flag, orthogonal flags dropped as well) and dangerously so. System is 5.4-RELEASE-p3 i386 -- Andriy Gapon _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #13WSHG00 (FB_security)
文章代碼(AID): #13WSHG00 (FB_security)