Hi,

I have done some further analysis of what permissions are needed to access 
files under Windows.

Yesterday I was under the mistaken impression that to open a file for 
writing you need FILE_WRITE_DATA, FILE_WRITE_ATTRIBUTES, and 
FILE_WRITE_EA.

However, this is only if you are using the POSIX open call. If you use 
the Win32 CreateFile and WriteFile calls, you can open a file for writing 
and write to it with just FILE_WRITE_DATA, even over CIFS.
 
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com

Reply via email to