Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> feel puzzled at HDFS group permissions check

Copy link to this message
RE: feel puzzled at HDFS group permissions check
Try adding user [raw] to the hadoop group. For now, user [raw] belongs to the “others” where there are no read|write|execute permissions are set.
From: rongshen.long [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 08, 2012 3:00 AM
To: user
Subject: feel puzzled at HDFS group permissions check

I set the mode of a directory on hdfs to 'rwxrwx---' ,however, I was denied to access the directory by dfs shell as a user in the same group . Did I make a mistake?

[raw@hadoop-test-3 ~]$ hadoop fs -ls /user/query
ls: could not get get listing for 'hdfs://' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx---
[raw@hadoop-test-3 ~]$ bash -c groups

NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel