Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Tue, 21 Nov 2017, Bruce Evans wrote: On Tue, 21 Nov 2017, Bruce Evans wrote: On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode ... This undoes only a small part of READONLY changes in r254627 (which are small part of of r253627). I think

Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Tue, 21 Nov 2017, Bruce Evans wrote: On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode ... This undoes only a small part of READONLY changes in r254627 (which are small part of of r253627). I think r254627 got the READONLY semantics wrong,

Re: svn commit: r326031 - head/sys/fs/msdosfs

2017-11-21 Thread Bruce Evans
On Mon, 20 Nov 2017, Conrad Meyer wrote: Log: msdosfs(5): Reflect READONLY attribute in file mode Msdosfs allows setting READONLY by clearing the owner write bit of the file mode. (While here, correct the misspelling of S_IWUSR as VWRITE. No functional change.) In msdosfs_getattr, intui