[Mono-bugs] [Bug 677255] Setting permissions doesn't work using Mono.Unix API

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 7 11:51:49 EST 2011



Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
                 CC|                            |jpryor at novell.com

--- Comment #2 from Jonathan Pryor <jpryor at novell.com> 2011-03-07 16:51:48 UTC ---
For Comment #1, UnixFileInfo.Create() is creat(2). As per the creat(2) man

     This interface is made obsolete by: open(2).

     The creat() function is the same as:

           open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);

That is, creat(2) and UnixFileInfo.Create() WILL truncate the file. This is by

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list