How to update a file attributes?
Dalibor Topic
Dalibor.Topic at Sun.COM
Thu Jul 8 14:41:52 PDT 2010
On 7/8/10 11:30 PM, Sarah kho wrote:
> Hi,
>
> Any comment?
>
> Thanks
>
> On Tue, Jul 6, 2010 at 8:18 PM, Sarah kho <sarah.kho at gmail.com <mailto:sarah.kho at gmail.com>> wrote:
>
> Hi,
>
> Is it possible to change a file's attributes like its owner name or access modes in linux ?
See http://download.oracle.com/docs/cd/E17409_01/javase/7/docs/api/java/nio/file/attribute/FileOwnerAttributeView.html#setOwner%28java.nio.file.attribute.UserPrincipal%29
and related javadocs.
cheers,
dalibor topic
--
<http://www.oracle.com/>
Dalibor Topic
Phone: +49 40 23646738
Oracle
ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
<http://www.oracle.com/commitment>
Oracle is committed to developing practices and products that help protect the environment
More information about the nio-discuss
mailing list