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
hi, 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://192.168.32.23:8020/user/query' : org.apache.hadoop.security.AccessControlException: Permission denied: user=raw, access=READ_EXECUTE, inode="query":query:raw:rwxrwx--- [raw@hadoop-test-3 ~]$ bash -c groups raw 2012-11-08 ________________________________ rongshen.long 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
