You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Serge Blazhiyevskyy <Se...@nice.com> on 2013/01/29 21:02:48 UTC

Initial Permission Settings

Hi all, 

Quick question about hadoop dfs -put local_file hdfs_file command


It seems that regardless of permissions for local_file the initial permissions for hdfs_file are -rw-r--r--, which allow file to be read by other users. 

Is there are way to change the initial file settings?

Thanks in advance.
Serge



Re: Initial Permission Settings

Posted by Michael Katzenellenbogen <mi...@cloudera.com>.
dfs.umask has been deprecated in favor of dfs.umaskmode

Typically a umask is represented as an octal, whereas dfs.umask was
represented as a decimal. dfs.umaskmode accepts octal notation, as is
preferred. For details, feel free to read up on
https://issues.apache.org/jira/browse/HADOOP-6234

-Michael

On Tue, Jan 29, 2013 at 5:47 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Thanks for response.
>
>
> I am still a bit confused.
>
> There are two parameters: dfs.umask and dfs.umaskmode and both of them
> seems to be deprecated in different hadoop versions.
>
> Does anybody know whats going on with those two parameters?
>
>
> Thanks
> Serge
>
>
>
>
> On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <
> vinodkv@hortonworks.com<ma...@hortonworks.com>> wrote:
>
>
> Please check your dfs umask (dfs.umask configuration property).
>
> HTH,
> +Vinod
>
>
> On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
> Serge.Blazhiyevskyy@nice.com<ma...@nice.com>> wrote:
> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>
>
>
> --
> +Vinod
> Hortonworks Inc.
> http://hortonworks.com/
>
>

Re: Initial Permission Settings

Posted by Michael Katzenellenbogen <mi...@cloudera.com>.
dfs.umask has been deprecated in favor of dfs.umaskmode

Typically a umask is represented as an octal, whereas dfs.umask was
represented as a decimal. dfs.umaskmode accepts octal notation, as is
preferred. For details, feel free to read up on
https://issues.apache.org/jira/browse/HADOOP-6234

-Michael

On Tue, Jan 29, 2013 at 5:47 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Thanks for response.
>
>
> I am still a bit confused.
>
> There are two parameters: dfs.umask and dfs.umaskmode and both of them
> seems to be deprecated in different hadoop versions.
>
> Does anybody know whats going on with those two parameters?
>
>
> Thanks
> Serge
>
>
>
>
> On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <
> vinodkv@hortonworks.com<ma...@hortonworks.com>> wrote:
>
>
> Please check your dfs umask (dfs.umask configuration property).
>
> HTH,
> +Vinod
>
>
> On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
> Serge.Blazhiyevskyy@nice.com<ma...@nice.com>> wrote:
> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>
>
>
> --
> +Vinod
> Hortonworks Inc.
> http://hortonworks.com/
>
>

Re: Initial Permission Settings

Posted by Michael Katzenellenbogen <mi...@cloudera.com>.
dfs.umask has been deprecated in favor of dfs.umaskmode

Typically a umask is represented as an octal, whereas dfs.umask was
represented as a decimal. dfs.umaskmode accepts octal notation, as is
preferred. For details, feel free to read up on
https://issues.apache.org/jira/browse/HADOOP-6234

-Michael

On Tue, Jan 29, 2013 at 5:47 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Thanks for response.
>
>
> I am still a bit confused.
>
> There are two parameters: dfs.umask and dfs.umaskmode and both of them
> seems to be deprecated in different hadoop versions.
>
> Does anybody know whats going on with those two parameters?
>
>
> Thanks
> Serge
>
>
>
>
> On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <
> vinodkv@hortonworks.com<ma...@hortonworks.com>> wrote:
>
>
> Please check your dfs umask (dfs.umask configuration property).
>
> HTH,
> +Vinod
>
>
> On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
> Serge.Blazhiyevskyy@nice.com<ma...@nice.com>> wrote:
> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>
>
>
> --
> +Vinod
> Hortonworks Inc.
> http://hortonworks.com/
>
>

Re: Initial Permission Settings

Posted by Michael Katzenellenbogen <mi...@cloudera.com>.
dfs.umask has been deprecated in favor of dfs.umaskmode

Typically a umask is represented as an octal, whereas dfs.umask was
represented as a decimal. dfs.umaskmode accepts octal notation, as is
preferred. For details, feel free to read up on
https://issues.apache.org/jira/browse/HADOOP-6234

-Michael

On Tue, Jan 29, 2013 at 5:47 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Thanks for response.
>
>
> I am still a bit confused.
>
> There are two parameters: dfs.umask and dfs.umaskmode and both of them
> seems to be deprecated in different hadoop versions.
>
> Does anybody know whats going on with those two parameters?
>
>
> Thanks
> Serge
>
>
>
>
> On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <
> vinodkv@hortonworks.com<ma...@hortonworks.com>> wrote:
>
>
> Please check your dfs umask (dfs.umask configuration property).
>
> HTH,
> +Vinod
>
>
> On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
> Serge.Blazhiyevskyy@nice.com<ma...@nice.com>> wrote:
> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>
>
>
> --
> +Vinod
> Hortonworks Inc.
> http://hortonworks.com/
>
>

Re: Initial Permission Settings

Posted by Serge Blazhiyevskyy <Se...@nice.com>.
Thanks for response.


I am still a bit confused.

There are two parameters: dfs.umask and dfs.umaskmode and both of them seems to be deprecated in different hadoop versions.

Does anybody know whats going on with those two parameters?


Thanks
Serge




On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <vi...@hortonworks.com>> wrote:


Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <Se...@nice.com>> wrote:
Hi all,

Quick question about hadoop dfs -put local_file hdfs_file command


It seems that regardless of permissions for local_file the initial permissions for hdfs_file are -rw-r--r--, which allow file to be read by other users.

Is there are way to change the initial file settings?

Thanks in advance.
Serge





--
+Vinod
Hortonworks Inc.
http://hortonworks.com/


Re: Initial Permission Settings

Posted by Serge Blazhiyevskyy <Se...@nice.com>.
Thanks for response.


I am still a bit confused.

There are two parameters: dfs.umask and dfs.umaskmode and both of them seems to be deprecated in different hadoop versions.

Does anybody know whats going on with those two parameters?


Thanks
Serge




On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <vi...@hortonworks.com>> wrote:


Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <Se...@nice.com>> wrote:
Hi all,

Quick question about hadoop dfs -put local_file hdfs_file command


It seems that regardless of permissions for local_file the initial permissions for hdfs_file are -rw-r--r--, which allow file to be read by other users.

Is there are way to change the initial file settings?

Thanks in advance.
Serge





--
+Vinod
Hortonworks Inc.
http://hortonworks.com/


Re: Initial Permission Settings

Posted by Serge Blazhiyevskyy <Se...@nice.com>.
Thanks for response.


I am still a bit confused.

There are two parameters: dfs.umask and dfs.umaskmode and both of them seems to be deprecated in different hadoop versions.

Does anybody know whats going on with those two parameters?


Thanks
Serge




On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <vi...@hortonworks.com>> wrote:


Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <Se...@nice.com>> wrote:
Hi all,

Quick question about hadoop dfs -put local_file hdfs_file command


It seems that regardless of permissions for local_file the initial permissions for hdfs_file are -rw-r--r--, which allow file to be read by other users.

Is there are way to change the initial file settings?

Thanks in advance.
Serge





--
+Vinod
Hortonworks Inc.
http://hortonworks.com/


Re: Initial Permission Settings

Posted by Serge Blazhiyevskyy <Se...@nice.com>.
Thanks for response.


I am still a bit confused.

There are two parameters: dfs.umask and dfs.umaskmode and both of them seems to be deprecated in different hadoop versions.

Does anybody know whats going on with those two parameters?


Thanks
Serge




On Jan 29, 2013, at 12:10 PM, Vinod Kumar Vavilapalli <vi...@hortonworks.com>> wrote:


Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <Se...@nice.com>> wrote:
Hi all,

Quick question about hadoop dfs -put local_file hdfs_file command


It seems that regardless of permissions for local_file the initial permissions for hdfs_file are -rw-r--r--, which allow file to be read by other users.

Is there are way to change the initial file settings?

Thanks in advance.
Serge





--
+Vinod
Hortonworks Inc.
http://hortonworks.com/


Re: Initial Permission Settings

Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>


-- 
+Vinod
Hortonworks Inc.
http://hortonworks.com/

Re: Initial Permission Settings

Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>


-- 
+Vinod
Hortonworks Inc.
http://hortonworks.com/

Re: Initial Permission Settings

Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>


-- 
+Vinod
Hortonworks Inc.
http://hortonworks.com/

Re: Initial Permission Settings

Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Please check your dfs umask (dfs.umask configuration property).

HTH,
+Vinod


On Tue, Jan 29, 2013 at 12:02 PM, Serge Blazhiyevskyy <
Serge.Blazhiyevskyy@nice.com> wrote:

> Hi all,
>
> Quick question about hadoop dfs -put local_file hdfs_file command
>
>
> It seems that regardless of permissions for local_file the initial
> permissions for hdfs_file are -rw-r--r--, which allow file to be read by
> other users.
>
> Is there are way to change the initial file settings?
>
> Thanks in advance.
> Serge
>
>
>


-- 
+Vinod
Hortonworks Inc.
http://hortonworks.com/