Wrongly set chmod / 777. Problems?
I am using Ubuntu for development purposes.
As I work on the database side, there are a lot of things which require file permissions in order to access the data directory or some other according to the requirement.
Every time I get an errors like:
[ERROR] path/to/directory/ permission denied
To avoid it I have to log in as root root from the terminal and give access to that directory with:
chmod -R 644 /path/to/directory
To avoid this problem completely, I have given full access privileges with the following command:
chmod -R 777 /
Now my system has some problems.
I am not able to log in as a root neither from OS accounts nor from the terminal. And if I restart the system I am not sure it will boot smoothly.
I think some of the files which should not be given the full access are given the full access and I don't know what those file are.
Can any one help me out?