Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21955

Re: How to do chown or chgrp

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to do chown or chgrp
Date 2013-02-01 06:37 -0800
Organization Canadian Mind Products
Message-ID <amkng8lmipr96ibga02hfglc7mp3lncs5q@4ax.com> (permalink)
References <713a2f2b-eaad-4689-9089-314683eac4b3@googlegroups.com>

Show all headers | View raw


On Thu, 31 Jan 2013 06:56:06 -0800 (PST), loial <jldunn2000@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>What is the best way to run the unix chown and chgrp commands in Java?
>
>I only need to run these commands on one file at at time.

see http://mindprod.com/jgloss/exec.html

If you need speed, you will want to write some JNI or find a JNI
library that already does what you want.

http://mindprod.com/jgloss/jni.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development 
time. 
~ Tom Cargill  Ninety-ninety Law 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to do chown or chgrp loial <jldunn2000@gmail.com> - 2013-01-31 06:56 -0800
  Re: How to do chown or chgrp Arne Vajhøj <arne@vajhoej.dk> - 2013-01-31 10:37 -0500
  Re: How to do chown or chgrp lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-31 15:57 +0000
    Re: How to do chown or chgrp Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 17:56 -0500
      Re: How to do chown or chgrp lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-02 08:55 +0000
        Re: How to do chown or chgrp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-02 08:34 -0800
          Re: How to do chown or chgrp lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-02-02 20:26 +0000
  Re: How to do chown or chgrp Roedy Green <see_website@mindprod.com.invalid> - 2013-02-01 06:37 -0800

csiph-web