posted 10 years ago
Linux Gurus - I need some advice on adding a user to a certain group so that access to my application is restricted. I have the following 3 folders under /opt/softwares:
As you can see the conf and data folder should be protected as the conf folder will be only read by anything from inside the application folder where my web app will be running from. The data folder will be also written and read by my web app through MongoDB which is installed in a different location but also has the root and root as its user and group. I have another user called joe but when I tried to install or create a new folder under /opt/, it failed saying that joe does not belong to the sudoers and I also do not want joe to be on the sudoers list. Please suggest me some general idea on how to organize application, database access and how to give user access and which user should be owning what.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!