[Bug 223846] msdosfs does not reflect READONLY to user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 28 06:34:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223846

Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov at gmail.com

--- Comment #4 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 192866
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192866&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list