About Question enthuware.ocpjp.v11.2.3632 :

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

Moderator: admin

Post Reply
cjgiron
Posts: 13
Joined: Fri Sep 09, 2022 5:03 pm
Contact:

About Question enthuware.ocpjp.v11.2.3632 :

Post by cjgiron »

Hi Admin,

According to the explanation, by default, if the original path (p1) to be copied is a symbolic link, then the target of that symbolic link is copied only if symbolic links are supported. Does StandardCopyOption.REPLACE_EXISTING enable support for symbolic links for both the original path and target path?

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

Re: About Question enthuware.ocpjp.v11.2.3632 :

Post by admin »

I don't see the highlighted part written in the explanation. May be I am not looking at the right place. Can you post a screenshot?

cjgiron
Posts: 13
Joined: Fri Sep 09, 2022 5:03 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.3632 :

Post by cjgiron »

Oh sure! Sorry I was summarizing.

Here's the direct quote in the first paragraph:
If symbolic links are supported, and the file is a symbolic link, then the final target of the link is copied.


Reading over the answer explanation again, I think my understanding is clearer, but I have a different, probably simpler question. Are symbolic links supported by default?

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

Re: About Question enthuware.ocpjp.v11.2.3632 :

Post by admin »

Ok, that is different from what you wrote.
"support" here refers to OS/File system support.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests