You see, I have xampp, Android SDK installed in /opt/ directory as root. Now, the problem is, this machine is being used by 2 people (my sister and me) and even she uses them both. The problem arises when she uses Android Studio from her account. She gets these "Permission denied" errors when building the app or debugging it.
My account, on the other hand, has no problem in using Android Studio as the owner of /opt/Android/* is me ( drwxr-xr-x 10 suryateja suryateja 4096 May 20 23:05 Sdk
).
Hence, I was thinking of creating a group so as to enable all the users IN THIS GROUP to access all these "Permission denied" type files/directories.
Is this possible? If so, can anyone help me regarding this?
Thank you!
/opt/android/*
not owned by root? Second, users of any program should not be writing to the installation folders. Users should have their own config and data folders for each program under/home/userid/something
. Your installation is not right. See ubuntuhandbook.org/index.php/2014/11/… for installing android studio properly./opt/*
caused the problem. The purpose of installing programs usingsudo
(as root) is so that all users can use them. Always use the Ubuntu Software Center (the first choice) or PPAs (as shown in the link above) to install programs. This is not Windows, don't download and try to install programs by yourself until you understand the way Ubuntu works better.