Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5853B10C36 for ; Tue, 19 May 2015 19:33:02 +0000 (UTC) Received: (qmail 84349 invoked by uid 500); 19 May 2015 19:33:00 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 84275 invoked by uid 500); 19 May 2015 19:33:00 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 83872 invoked by uid 99); 19 May 2015 19:33:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 19:33:00 +0000 Date: Tue, 19 May 2015 19:33:00 +0000 (UTC) From: "Ravi Prakash (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HADOOP-11972) hdfs dfs -copyFromLocal reports File Not Found instead of Permission Denied. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Prakash resolved HADOOP-11972. ----------------------------------- Resolution: Duplicate This is a legitimate problem. Duping to HDFS-5033 > hdfs dfs -copyFromLocal reports File Not Found instead of Permission Denied. > ---------------------------------------------------------------------------- > > Key: HADOOP-11972 > URL: https://issues.apache.org/jira/browse/HADOOP-11972 > Project: Hadoop Common > Issue Type: Bug > Components: tools > Affects Versions: 2.6.0 > Environment: Linux hadoop-8309-2.west.isilon.com 2.6.32-504.16.2.el6.centos.plus.x86_64 #1 SMP Wed Apr 22 00:59:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > Reporter: David Tucker > > userA creates a file in /home/userA with 700 permissions. > userB tries to copy it to HDFS, and receives a "No such file or directory" instead of "Permission denied". > [hrt_qa@hadoop-8309-2 ~]$ touch ./foo > [hrt_qa@hadoop-8309-2 ~]$ ls -l ./foo > -rw-r--r--. 1 hrt_qa users 0 May 14 16:09 ./foo > [hrt_qa@hadoop-8309-2 ~]$ sudo su hbase > [hbase@hadoop-8309-2 hrt_qa]$ ls -l ./foo > ls: cannot access ./foo: Permission denied > [hbase@hadoop-8309-2 hrt_qa]$ hdfs dfs -copyFromLocal ./foo /tmp/foo > copyFromLocal: `./foo': No such file or directory -- This message was sent by Atlassian JIRA (v6.3.4#6332)