Date: Sat, 28 Apr 2018 06:34:37 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 223846] msdosfs does not reflect READONLY to user Message-ID: <bug-223846-3630-WZ82VvqSaD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223846-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-223846-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223846 Damjan Jovanovic <damjan.jov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com --- Comment #4 from Damjan Jovanovic <damjan.jov@gmail.com> --- Created attachment 192866 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192866&action= =3Dedit deny writing to READONLY files in msdosfs Hi. Here is my patch to deny writing to files with the READONLY attribute on msdosfs filesystems. It just affects the file_mode variable in msdosfs_access(). My tests show writing and appending to READONLY files is successfully denied the same way on ufs, zfs, and msdosfs. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223846-3630-WZ82VvqSaD>