About Question enthuware.ocpjp.v7.2.1554 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

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 »

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: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

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 »

thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests