Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22002
| Date | 2013-02-02 08:55 +0000 |
|---|---|
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
| Organization | Trollbusters 3 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How to do chown or chgrp |
| References | <713a2f2b-eaad-4689-9089-314683eac4b3@googlegroups.com> <dc6dnZedsLT0CZfMnZ2dnUVZ7tKdnZ2d@bt.com> <510c483a$0$294$14726298@news.sunsite.dk> |
| Message-ID | <2pKdnRaZE_H6SZHMnZ2dnUVZ8qidnZ2d@bt.com> (permalink) |
On 01/02/13 22:56, Arne Vajhøj wrote: > On 1/31/2013 10:57 AM, lipska the kat wrote: >> On 31/01/13 14:56, loial wrote: >>> 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. >> >> Surely the 'Java' way (in 1.7 at least) is >> >> java.nio.file.Files.setPosixFilePermissions > > As owner and group are not in PosixFilePermission > then surely not. Ah yes, setPosixFilePermissions would be chmod. My mistake lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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