AnsweredAssumed Answered

ADM 202 LabGuide page 8-2 Use MapR Direct-Access to NFS:

Question asked by stealthfrognz on Jan 11, 2017
Latest reply on Jan 17, 2017 by deborah

Hi, I am still logged in as the mapr user, and try to create the directory using

$ mkdir /mapr/<cluster name>/m-input

 

But am getting a permissions error.  When I ll on /mapr it is owned by root:root 

$ cd /
$ ls -l
total 88
drwxr-xr-x 2 root root 4096 Jan 11 09:42 bin
drwxr-xr-x 3 root root 4096 Dec 13 20:51 boot
drwxr-xr-x 13 root root 3940 Jan 12 00:46 dev
drwxr-xr-x 109 root root 4096 Jan 12 00:46 etc
drwxr-xr-x 4 root root 4096 Jan 11 09:42 home
lrwxrwxrwx 1 root root 34 Dec 13 20:46 initrd.img -> boot/initrd.img-3.13.0-105-generic
drwxr-xr-x 21 root root 4096 Jan 11 09:41 lib
drwxr-xr-x 2 root root 4096 Dec 13 20:44 lib64
drwx------ 2 root root 16384 Dec 13 20:51 lost+found
drwxr-xr-x 2 root root 4096 Jan 11 10:05 mapr

Which is why I can't create the directory

 

I could force it though chmod 777 or chown -R mapr:mapr mapr or something but I just wanted to check if the installation should have done this or not.

 

Or what do you suggest... basically I don't want to mess up something later in the lab.

 

Thanks

Outcomes