🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8725

Re: Change the directory permissions in Java

#8725
From: Torsten Welches
Date: Fri, 09 Mar 2001 13:32
17 lines
1501 bytes
"Joi Ellis [TeamB]" <joi@aravox.com> wrote:
>> Is there a way for me to change the permissions of a 
>>directory, that I created using the File Object. ?
>[snip]
>> JDK1.3
>
>See java.io.FilePermission.

no, java.io.FilePermission will not change the *OS's* directory 
permissions, which is what Dillan was looking for. 
Rather FilePermission controls the VM classes' access to a
file or directory (SecurityManager).

AFAIK there is no way to do this with stock-Java. 

Torsten
Technical Details
Message-ID: <3aa8db70$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!europa.netcrusader.net!207.172.3.44!feed2.news.rcn.net!rcn!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65
References: <989cpp$qer8@bornews.inprise.com> <98akfi$7mk1@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,e3475c5e57d50c08
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-09 05:39:07 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: Change the directory permissions in Java
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 193.158.55.74 193.158.55.74    
References: <989cpp$qer8@bornews.inprise.com>  <98akfi$7mk1@bornews.inprise.com> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3aa8db70$1_2@dnews>
Date: 9 Mar 2001 05:32:32 -0800
X-Trace: 9 Mar 2001 05:32:32 -0800, 207.105.83.65
Lines: 18
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!europa.netcrusader.net!207.172.3.44!feed2.news.rcn.net!rcn!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65