Bug 261154

Summary: ro mounted filesystem writable
Product: [openSUSE] openSUSE 10.2 Reporter: Elmar Stellnberger <estellnb>
Component: BasesystemAssignee: Matthias Koenig <mkoenig>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hvogel
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Elmar Stellnberger 2007-04-05 09:30:17 UTC
mount --bind -r /home /mnt/home
touch /mnt/home/hug

mount
...
/home on /mnt/home type none (ro,bind)

 Mounting home ro again will be useful if we want to assert that a certain program can not change its content (f.i. to prevent data loss by misconfigured sync or to prevent data corruption if user data is accessed by an untrusted program.). Showing up the ro flag will make the user think himself safe wrongly!

persists in Opensuse 10.2.
Comment 1 Hendrik Vogelsang 2008-01-25 12:58:29 UTC
To omit this for bind mounts in mtab would mean a whole lot of logic. We are not going to implement this. Read Only bind mounts are a feature that is coming. Until then we have to live with the wrong mtab entry