libgcj/1370: file permissions on created file incorrect
patrick.dowler@nrc.ca
patrick.dowler@nrc.ca
Wed Dec 20 12:25:00 GMT 2000
>Number: 1370
>Category: libgcj
>Synopsis: file permissions on created file incorrect
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bryce
>State: closed
>Class: duplicate
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:19 PST 2000
>Closed-Date: Thu Sep 07 15:24:21 PDT 2000
>Last-Modified: Thu Sep 7 15:30:00 PDT 2000
>Originator: Patrick Dowler
>Release: 2.95.2
>Organization:
>Environment:
linux (2.2.16), glibc 2.1.3
>Description:
Files created using FileWriter have permissions 755 by
default. When I run the program under the JRE they have
the normal 664 (appropriate for my umask).
>How-To-Repeat:
compile/run attached prog under gcj and a jre.
>Fix:
Duplicate of PR 202. Already fixed in cvs.
>Release-Note:
>Audit-Trail:
Formerly PR java.io/342
Responsible-Changed-From-To: apbianco->bryce
Responsible-Changed-By: bryce
Responsible-Changed-When: Thu Sep 7 15:24:21 2000
Responsible-Changed-Why:
I'm responding
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Sep 7 15:24:21 2000
State-Changed-Why:
Already fixed in cvs.
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, bryce@albatross.co.nz,
java-gnats@sourceware.cygnus.com, patrick.dowler@nrc.ca
Cc:
Subject: Re: java.io/342
Date: 7 Sep 2000 22:24:21 -0000
Synopsis: file permissions on created file incorrect
Responsible-Changed-From-To: apbianco->bryce
Responsible-Changed-By: bryce
Responsible-Changed-When: Thu Sep 7 15:24:21 2000
Responsible-Changed-Why:
I'm responding
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Sep 7 15:24:21 2000
State-Changed-Why:
Already fixed in cvs.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=342&database=java
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="FilePermTest.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="FilePermTest.java"
aW1wb3J0IGphdmEuaW8uKjsKCmNsYXNzIEZpbGVQZXJtVGVzdCAKewoJcHVibGljIHN0YXRpYyB2
b2lkIG1haW4oU3RyaW5nW10gYXJncykKCXsKCQl0cnkKCQl7CgkJUHJpbnRXcml0ZXIgdyA9IG5l
dyBQcmludFdyaXRlcihuZXcgRmlsZVdyaXRlcigiZmlsZXBlcm0udHh0IikpOwoJCXcucHJpbnRs
bigic2FtcGxlIHRleHQiKTsKCQl3LmNsb3NlKCk7CgkJfQoJCWNhdGNoKElPRXhjZXB0aW9uIGV4
KSB7IH0KCX0KfQo=
More information about the Gcc-prs
mailing list