About Question enthuware.ocpjp.v7.2.1554 :

Moderator: admin

Post Reply
Chen@ukr.net
Posts: 9
Joined: Sat Feb 27, 2016 1:17 pm
Contact:

About Question enthuware.ocpjp.v7.2.1554 :

Post by Chen@ukr.net » Sat Apr 02, 2016 9:10 am

PosixFileAttributeView
Unix based file systems provide this view. This view supports the following attributes in addition to BasicFileAttributeView:

"permissions" : Set<PosixFilePermission>
"group" : GroupPrincipal

The permissions attribute is used to update the permissions, owner, or group-owner as by invoking the setPermissions, setOwner, and setGroup methods respectively.
https://docs.oracle.com/javase/7/docs/a ... eView.html

there is no setOwner method

Only method for updates the file group-owner - void setGroup(GroupPrincipal group)

admin
Site Admin
Posts: 8465
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1554 :

Post by admin » Sat Apr 02, 2016 9:29 am

It inherits the setOwner method from FileOwnerAttributeView. It is listed in the link you mentioned above.
If you like our products and services, please help us by posting your review here.

Chen@ukr.net
Posts: 9
Joined: Sat Feb 27, 2016 1:17 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1554 :

Post by Chen@ukr.net » Sat Apr 02, 2016 10:03 am

thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests