Cannot install permission denied

Solved!
jmuch
Level 1
Cannot install permission denied

Hello,



I try to install DSS on Ubuntu 16.04. First attempt to run the installer return missing depedencies. I run




sudo -i "/opt/dataiku-dss-4.0.1/scripts/install/install-deps.sh"


and the retry 




./installer.sh -d /home/raphael/configs/ -p 11000


tis return "permission denied" errors eg :




Sorry [Errno 13] Permission denied: '/opt/dataiku-dss-4.0.1/python/dataiku/__init__.pyc.139714356390000'


and running the script as root returns "dataiku doesn't support root execution". I'm new to ubuntu and i feel like I miss something obvious but I didn't find anything in the documentation.

0 Kudos
1 Solution
Jbelafa
Dataiker

Hi 



This is interesting  !  



Did you unarchive dataiku-dss-4.0.1 tarball as root ? 



Is it possible to have the output of  the command 




ls -lrtR /opt/dataiku*


Finally you can fix your issue by running 




sudo chown -R dataiku: /opt/dataiku-dss-4.0.1/


Please let us know if the permission were correct since the beginning so we can investigate the origin of this issue. 

View solution in original post

0 Kudos
6 Replies
Jbelafa
Dataiker

Hi 



This is interesting  !  



Did you unarchive dataiku-dss-4.0.1 tarball as root ? 



Is it possible to have the output of  the command 




ls -lrtR /opt/dataiku*


Finally you can fix your issue by running 




sudo chown -R dataiku: /opt/dataiku-dss-4.0.1/


Please let us know if the permission were correct since the beginning so we can investigate the origin of this issue. 

0 Kudos
jmuch
Level 1
Author
Yes I unarchived dataiku using sudo tar xzf dataiku-dss-4.0.1.tar.gz -C /opt/

Running your command assume I've created a dataiku user right ? which I didn't
0 Kudos
Jbelafa
Dataiker
the user can be any generic user as long as it's not a superuser , this is the user you are willing to run dss with as running the application as root is not allowed.
0 Kudos
jmuch
Level 1
Author
https://drive.google.com/open?id=0BwD44RwoiYSZU1JSS1ZBWUVaQWM
0 Kudos
Jbelafa
Dataiker
So basically if the 1007 id is the user you are supposed to run DSS with you are good .
if it's not then you 'll have to `sudo chown -R $yourdssuser: /opt/dataiku-dss-4.0.1/ `
0 Kudos
jmuch
Level 1
Author
thanks !
0 Kudos