You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2008/03/24 10:33:24 UTC
[jira] Created: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
bin/hadoop fs -chmod doesnot change execution permissions for files.
--------------------------------------------------------------------
Key: HADOOP-3078
URL: https://issues.apache.org/jira/browse/HADOOP-3078
Project: Hadoop Core
Issue Type: Bug
Affects Versions: 0.16.0
Reporter: Amareshwari Sriramadasu
bin/hadoop fs -chmod doesnt change execution permissions for files.
I have two files in scripts directory
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
$ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
$ hadoop fs -chmod -R 777 /user/amarsri/scripts/
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
"$hadoop fs -ls" lists scripts as the following.
/user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581676#action_12581676 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-3078:
------------------------------------------------
>At the least, it is confusing to the user. 'x' is something user sets (unlike 'd'), I wonder why it is disallowed for files in HDFS.
In Hadoop, all files are non-executable (which is different from Unix). So there is no 'x' bit.
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581620#action_12581620 ]
Raghu Angadi commented on HADOOP-3078:
--------------------------------------
Also, 'fs -help chmod' needs to be updated to reflect this, at the time it was written, I didn't know DFS ignores 'x' on files. My preferred fix would be not to ignore it.
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581771#action_12581771 ]
Amareshwari Sriramadasu commented on HADOOP-3078:
-------------------------------------------------
bq.Also, 'fs -help chmod' needs to be updated to reflect this, at the time it was written, I didn't know DFS ignores 'x' on files.
+1
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Robert Chansler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Chansler resolved HADOOP-3078.
-------------------------------------
Resolution: Invalid
Files do not have an execute permission. (Directories _do_ have an execute permission.)
>From the user guide:
" In contrast to the POSIX model, there are no sticky, setuid
or setgid bits for files as there is no notion of executable files."
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581619#action_12581619 ]
Raghu Angadi commented on HADOOP-3078:
--------------------------------------
At the least, it is confusing to the user. 'x' is something user sets (unlike 'd'), I wonder why it is disallowed for files in HDFS.
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Raghu Angadi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581692#action_12581692 ]
Raghu Angadi commented on HADOOP-3078:
--------------------------------------
Well, I don't think executable is real file system property. It is a file property interpreted by the operating system (and security layer). The fact that HDFS does not need it IMHO is not a good reason to restrict the users. If there is an improvement (either internal or user facing) because of not allowing this flag I would like to know.
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581694#action_12581694 ]
Mahadev konar commented on HADOOP-3078:
---------------------------------------
a useful example where x perms would be useful is mounting hdfs as a fuse module...
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3078) bin/hadoop fs -chmod doesnot change
execution permissions for files.
Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HADOOP-3078:
--------------------------------------------
Component/s: dfs
Description:
bin/hadoop fs -chmod doesnt change execution permissions for files.
I have two files in scripts directory
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
$ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
$ hadoop fs -chmod -R 777 /user/amarsri/scripts/
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
"$hadoop fs -ls" lists scripts as the following.
/user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
was:
bin/hadoop fs -chmod doesnt change execution permissions for files.
I have two files in scripts directory
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
$ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
$ hadoop fs -chmod -R 777 /user/amarsri/scripts/
$ hadoop fs -lsr scripts
/user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
/user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
"$hadoop fs -ls" lists scripts as the following.
/user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
> bin/hadoop fs -chmod doesnot change execution permissions for files.
> --------------------------------------------------------------------
>
> Key: HADOOP-3078
> URL: https://issues.apache.org/jira/browse/HADOOP-3078
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.16.0
> Reporter: Amareshwari Sriramadasu
>
> bin/hadoop fs -chmod doesnt change execution permissions for files.
> I have two files in scripts directory
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When i ran -chmod 777 on the file, file has only read permissions but no execution permissions.
> $ hadoop fs -chmod 777 /user/amarsri/scripts/my.pl
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-r--r-- amarsri supergroup
> When I do -chmod -R 777 on the directory, permissions are given to the directory, and the directories inside them, but files dont get execution permissions.
> $ hadoop fs -chmod -R 777 /user/amarsri/scripts/
> $ hadoop fs -lsr scripts
> /user/amarsri/scripts/my.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> /user/amarsri/scripts/xyz.pl <r 3> 146 2008-03-24 14:39 rw-rw-rw- amarsri supergroup
> "$hadoop fs -ls" lists scripts as the following.
> /user/amarsri/scripts <dir> 2008-03-24 14:39 rwxrwxrwx amarsri supergroup
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.