🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Changing file permissions

#1894
From: WhiteSox
Date: Fri, 03 Aug 2001 15:17
29 lines
1945 bytes
the reason that Java can't do this CHMOD stuff is, i guess, this operation
is system dependent.

"Peter Parlewicz" <pparlewicz@queryobject.com> wrote in message
news:3B4F719F.5FB8D200@queryobject.com...
> Thanks, that work-around worked.
> Too bad Java cannot do this natively.
>
>
> "John McGrath [TeamB]" wrote:
>
> > On Thu, 12 Jul 2001 14:38:09 -0400, Peter Parlewicz wrote:
> >
> > > I would like to set the 'executable' file attribute on an
> > > existing shell script file from a Java program..
> > > How (if at all) can I do it?
> >
> > There is nothing in the Java runtimes that will do this for you, but it
> > would be pretty easy to use Runtime exec() to run a "chmod" command.
> >
> > --
> > Regards,
> >
> > John McGrath [TeamB]
> >
> > ---------------------------------------------------
> > Before sending me e-mail, please read:
> >     http://www.JPMcGrath.net/newsgroups/e-mail.html
>
Technical Details
Message-ID: <3b6ac092_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!195.200.0.51.MISMATCH!shale.ftech.net!news.ftech.net!colt.net!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews
References: <3B4DEE91.C5056560@queryobject.com> <MPG.15b8ab226a535a7a98a358@forums.borland.com> <3B4F719F.5FB8D200@queryobject.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,e465846366fec29e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-08-03 08:36:30 PST
From: "WhiteSox" <lwhao@msn.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3B4DEE91.C5056560@queryobject.com> <MPG.15b8ab226a535a7a98a358@forums.borland.com> <3B4F719F.5FB8D200@queryobject.com>
Subject: Re: Changing file permissions
Date: Fri, 3 Aug 2001 11:17:39 -0400
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 192.233.55.78
Message-ID: <3b6ac092_2@dnews>
X-Trace: dnews 996851858 192.233.55.78 (3 Aug 2001 08:17:38 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!195.200.0.51.MISMATCH!shale.ftech.net!news.ftech.net!colt.net!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews