Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Help with HDFS Linux permission Post 302996073 by RudiC on Tuesday 18th of April 2017 11:50:08 AM
Old 04-18-2017
Quote:
Originally Posted by desind
.
.
.
But should'nt i be able to change the permissions of my home directory ?
.
.
.
Not necessarily, depending on the policy of your company / provider / host admin. And, why should you? And, while you own most of the files in it, it might even be that there are, say, configuration files that are locked by the system admin (although not too probable, though).
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help how to copy few records from hdfs to UNIX

Hi All , I am facing one issue here...I have a huge file in hadoop file system.Some disk space issues are thr ,thatswhy I want to copy 1st 100 records from hdfs to local unix.I tried below command but it is no working .Its giving error like cat: Unable to write to output stream.if any one can... (2 Replies)
Discussion started by: STCET22
2 Replies

2. Red Hat

SE Linux write permission denied

Hi, In my server I am getting below errors in "/var/log/messages": Oct 8 14:45:44 LKOGOMEEMM01 kernel: type=1400 audit(1444295744.792:15818): avc: denied { write } for pid=53421 comm="ip" path="/var/VRTSvcs/log/tmp/IPMultiNIC-8" dev=dm-0 ino=2754879 scontext=system_u:system_r:ifconfig_t:s0... (4 Replies)
Discussion started by: rochitsharma
4 Replies

3. Shell Programming and Scripting

Change file permission of mounted drive Linux

I got a problem with the permission of mounted 2TB drive in my Linux/Mint system. All the files in any folder are with 777, which is not what I want. my fstab line for this disk is: UUID=90803E0C803DF974 /media/grape/Workspace1_ntfs ntfs auto,users,permissions 0 0 and blkid gave me: $> blkid ... (4 Replies)
Discussion started by: yifangt
4 Replies

4. UNIX for Advanced & Expert Users

UNIX and HDFS - file systems on same partition.

I am learning Hadoop. As a part of that, Hdfs - Hadoop distributed file system has commands similar to unix where we can create,copy,move files from unix/linux file system to HDFS. My question is 1) how two file systems (unix and hdfs) can coexist on thr same partition.. 2)What if block used... (0 Replies)
Discussion started by: Narendra Eliset
0 Replies

5. UNIX for Beginners Questions & Answers

UNIX and HDFS - file systems on same partition.

I am learning Hadoop. As a part of that, Hdfs - Hadoop distributed file system has commands similar to unix where we can create,copy,move files from unix/linux file system to HDFS. My question is 1) how two file systems (unix and hdfs) can coexist on thr same partition.. 2)What if block... (1 Reply)
Discussion started by: Narendra Eliset
1 Replies

6. Shell Programming and Scripting

Strange permission issue on Linux server.

Starting sendmail throws this error: I decided to see the permission on the files under /etc/mail and this is the output: # ls -ltr total 284 -rwxr-xr-x. 1 root root 1847 Jan 27 2014 virtusertable -rwxr-xr-x. 1 root root 127 Jan 27 2014 trusted-users -rwxr-xr-x. 1 root root 92... (3 Replies)
Discussion started by: mohtashims
3 Replies

7. Shell Programming and Scripting

Read CSV file and delete hdfs, hive and hbase tables

I have a CSV file with hdfs directories, hive tables and hbase tables. 1. first column - hdfs directories 2. second column - hive tables 3. third column - hbase tables I have to check the csv file and look for the first column and delete the hdfs directory from the hdfs path, now... (2 Replies)
Discussion started by: shivamayam
2 Replies

8. Shell Programming and Scripting

How to check total files size in hdfs directory?

Is there a way to calculate the total file size of HDFS file directory in GB or MB? I dont want to use du/df command. Without that is there a way HDFS Directory - /test/my_dir (1 Reply)
Discussion started by: rohit_shinez
1 Replies

9. Shell Programming and Scripting

Shell Script for HDFS Ingestion Using JDBC

Peers, I was in process of building a script that connects to salesforce using jdbc and pull the data using spark and process in hive table. During this process I have encountered a problem where and variable assigned with hadoop command that list files in Azure Data lake is not parsing the... (2 Replies)
Discussion started by: jg355187
2 Replies

10. Shell Programming and Scripting

To get latest hdfs file system

Hi All, I am having below hdfs file system /user/home/dte=2019_01_30/part_1 /user/home/dte=2019_01_30/part_2 /user/home/dte=2019_01_31/part_1 I need to take the latest month hdfs folder while passing date as parameter. For eg . if i pass as Feb month i.e. 20190201(YYYYMMDD), then... (0 Replies)
Discussion started by: Master_Mind
0 Replies
mtstailor(5mh)															    mtstailor(5mh)

Name
       mtstailor - system customization for MH message system

Description
       The file defines run-time options for those MH programs which interact (in some form) with the message transport system.  At present, these
       (user) programs are: and

       The options available along with default values and a description of their meanings are listed below:

       The host name that MH considers local.
		 If not set, depending on the version of ULTRIX you are running, MH will query the system for this value (for example: <whoami.h>,
		 gethostname).	This has no equivalent in the MH configuration file.

       The name of the local host in the UUCP "domain".
		 If  not set, depending on the version of ULTRIX you are running, MH will query the system for this value.  This has no equivalent
		 in the MH configuration file.

       A host or list of hosts running
		 can be specified.  When an MH program is run, it uses this entry to search for a central to connect  to.   This  is  particularly
		 useful for workstation users who may not have running on their workstation.

       The directory where maildrops are kept.
		 If this is empty, the user's home directory is used.  This overrides the mail field in the MH configuration file.

       The name of the maildrop file in the directory where maildrops are kept.
		 If this is empty, the user's login name is used.  This overrides the mail field in the MH configuration file.

       The beginning-of-message delimiter for maildrops.

       The end-of-message delimiter for maildrops.

       If non-zero, then support for MMailids in
		 is enabled.  Basically, the field in the password file is of the form
		 My Full Name <mailid>
		 The MH internal routines that deal with user and full names will return mailid and My Full Name respectively.

       The locking discipline to perform.
		 A  value  of  0 means to use if available, standard locking otherwise.  A value of 1 means to use locking always (the name of the
		 lock is based on the file name).  A value of 2 means to use locking always (the name of the lock is based on device/inode pairs).

       The name of the directory for making locks.
		 If your system does not have the syscall, then this directory is used when creating locks.  If  the  value  is  empty,  then  the
		 directory of the file to be locked is used.

       The pathname to the
		 program.

       The name of the system-wide default
		 file.	See for the details.

       The highest user-id which should NOT receive mail addressed to
		 everyone.

       If set, then each user-id greater than everyone
		 that  has  a login shell equivalent to the given value (for example, indicates that mail for everyone should not be sent to them.
		 This is useful for handling admin, dummy, and guest logins.

       A few words on locking: MH has a flexible locking system for making locks on files.  There are two variables you should be aware of:  lock-
       style and lockldir.  The first controls the method of locking: the second says where lock files should be created.

       The lockstyle variable can take on three values: 0, 1, 2.  A value of 0 means use the syscall if you are running on 4.2BSD, otherwise use a
       locking style of 1.  A value of 1 or 2 specifies that a file should be created whose existence means locked and whose  non-existence  means
       unlocked.  A value of 1 specified that the lockname is constructed by appending to the name of the file being locked.

       A  value of 2 says to construct the lockname by looking at the device and inode numbers of the file being locked.  If the lockldir variable
       is not specified, lock files will be created in the directory where the file being locked resides.  Otherwise, lock files will  be  created
       in  the	directory specified by lockldir.  Prior to installing MH, you should see how locking is done at your site, and set the appropriate
       values.

Files
       System customization file.

       System password file.

See Also
       flock(2), mh_profile(5mh)

																    mtstailor(5mh)
All times are GMT -4. The time now is 04:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy