rich7420 commented on code in PR #12193:
URL: https://github.com/apache/ozone/pull/12193#discussion_r4760197569
##########
hadoop-hdds/common/src/main/resources/ozone-default.xml:
##########
@@ -4744,6 +4744,18 @@
</description>
</property>
+ <property>
+ <name>ozone.fs.file.permission.reported</name>
+ <value>666</value>
+ <tag>OZONE, CLIENT</tag>
+ <description>
+ Permission that ofs and o3fs report for files, in octal or symbolic
form. Ozone does not persist or enforce
+ this permission; access is controlled by ACLs. When ACLs are enabled,
set it to 600 so that applications which
+ check whether a file is readable by others, such as YARN when deciding
if a resource can be localized
+ publicly, do not treat every file as world-readable. Directories are
always reported as 777.
Review Comment:
MR `-libjars` registers `libjars/*`, and Hadoop only checks the directories
for `*`. Those still report 777, so it stays PUBLIC?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]