Re: CIFS: reset ATTR_READONLY on Windows

2007-03-27 Thread Urs Fleisch
Would you take a look at it? The patch looks fine, similar to mine, I also used a flag when trying to send a zero attribute to the server, but removed it later to reduce the number of differences. I made another small change: The ATTR_READONLY is only cleared if all writeable bits are set in th

Re: CIFS: reset ATTR_READONLY on Windows

2007-03-22 Thread Steve French
> When all write permission bits are removed from a file on > the Windows share (e.g. using chmod ugo-w filename), the > read-only bit is set in the file (as seen in the Windows Explorer). > Now it is not possible to get the write permissions back (e.g. using chmod ugo+w filename). The read-only