Possible Duplicate:
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?
login
orsu
from a shell when you do and run whatever from there. Not to encourage the practice too much, but I have been working primarily as root -- including in a professional setting -- for more than a decade and never even once shot myself in the foot because of it.