[
https://issues.apache.org/jira/browse/HDFS-6434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wellington Chevreuil updated HDFS-6434:
---------------------------------------
Attachment: HDFS-6434.002.patch
Hi [~andrew.wang], thanks for reviewing it. For the symlinks permissions, I had
followed what 's described on [linux manpages for
symlink|http://man7.org/linux/man-pages/man7/symlink.7.html]:
{noformat}
On Linux, the permissions of a symbolic link are not used in any
operations; the permissions are always 0777 (read, write, and execute
for all user categories), and can't be changed.
{noformat}
I'm attaching a new patch with the 2 checkstyle issues fixed. As per the
whitespace issue reported, I'm a bit confused, since it seems to be reporting
white spaces for a file that is not included in this patch:
{noformat}
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:210:licenses.
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:219: *
Redistribution and use in source and binary forms, with or
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:220: * without
modification, are permitted provided that the following
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:222: * -
Redistributions of source code must retain the above copyright
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:224: * -
Redistributions in binary form must reproduce the above copyright
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:225: * notice,
this list of conditions and the following disclaimer in
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:228: * nor the
names of its contributors may be used to endorse or
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:229: * promote
products derived from this software without specific prior
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:231: *
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:232: * THIS
SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:233: * "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:234: * LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:235: * FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:236: * COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:237: * INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:238: * BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:239: * LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:240: * CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:241: * LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
./hadoop-build-tools/src/main/resources/META-INF/LICENSE.txt:242: * ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED O
{noformat}
Is it possible this is some build process issue?
> Default permission for creating file should be 644 for WebHdfs/HttpFS
> ---------------------------------------------------------------------
>
> Key: HDFS-6434
> URL: https://issues.apache.org/jira/browse/HDFS-6434
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: webhdfs
> Reporter: Juan Yu
> Assignee: Wellington Chevreuil
> Priority: Minor
> Attachments: HDFS-6434.002.patch, HDFS-6434.patch
>
>
> Creating a file by using WebHdfs without specify permission. file is created
> with permission 755. it should be 644.
> WebHdfs seems using the same default permission for both file and directory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]