On 17 Mar 2009, at 23:31, Tim Kack wrote:
Hi Igor,
I opened bug #25904 for this, please add the findings to that if
needed.
I will check more on this tomorrow.
Note, this is not a security issue - it is only the owner that can
touch the file, but it can lead to overwriting data that you didn't
want to have overwritten. A nuisance of course.
GNUstep is not using anything that can override the operating
systems permissions checks, it is all built upon standard base
libraries (glibc etc).
It turns out that there is no issue/bug here. The example/test code
was asking to replace an existing file, and the library was doing that.
On Unix-style systems, if you want to protect a file so that it cannot
be replaced, you have to change the permissions of the directory
containing the file, not those of the file itsself.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep