🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2285

Re: How to clear file's read-only attribute ?

#2285
From: Paul Furbacher [TeamB]
Date: Thu, 19 Apr 2001 20:27
33 lines
2185 bytes
Torsten Welches wrote:
> 
> Damian schrieb in Nachricht <3addad3d$2_1@dnews>...
> >I'm looking for a method opposite to File.setReadOnly().
> >Any ideas will be appreciated.
> 
> you are out of luck unfortunately, you would have to use some platform
> dependend script and call that with Runtime.exec.
> http://developer.java.sun.com/developer/bugParade/bugs/4167472.html

An alternative might be found (no guarantee) in the 
JConfig library -- it offers a lot of cross-platform
ways of doing system-level things:

  http://www.tolstoy.com/samizdat/jconfig.html


> Damian schrieb in Nachricht <3addad3d$2_1@dnews>...
> >... Please answer to damian.golda@poczta.fm

All answers remain within the newsgroups.  That's the
rule.  Reasons: 1) messages are archived; they constitute
a valuable resource for those who search the archives;
2) participation in the newsgroups is voluntary, and 
is not a support issue, so you are expected to follow
your own thread.


Paul Furbacher (TeamB)

  Please send responses to the newsgroup only.
  That means, do not send email directly to me.
  Thank you.
Technical Details
Message-ID: <3ADF4A16.7DCD73D6@mac.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3addad3d$2_1@dnews> <3addaee4$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,e7f08d72af85d6b8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-04-19 13:46:56 PST
Message-ID: <3ADF4A16.7DCD73D6@mac.com>
Date: Thu, 19 Apr 2001 16:27:02 -0400
From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com>
Reply-To: pfurbacher@mac.com
Organization: Reverse Alchemy, Inc.
X-Mailer: Mozilla 4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: How to clear file's read-only attribute ?
References: <3addad3d$2_1@dnews> <3addaee4$1_2@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.9.87.144
X-Trace: dnews 987712015 24.9.87.144 (19 Apr 2001 13:26:55 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!supernews.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews