I am using Debian. I tried to give a permissions to /opt/folder by using
chmod -R 0755 / filename
Unfortunately it changed the permissions of a lot of folders in the root filesystem. So it leads into a lot of problem.
Now I can't open any application (i.e) Terminal, Browser or even I get errors on restart.
How to open a Terminal? (starting and stopping)
How to resolve this whole problem?
chmod
on the root directory! Most unix commands that take a filename as a parameter can take more than one (otherwise filename wildcard substitution wouldn't work). In your example, you have (by mistake, I assume) a space between the leading slash/
andfilename
. This means: first change the permissions recursively on the root directory and everything beneath it, and then onfilename
in the current directory. Probably not what you wanted. – MattBianco Aug 13 '14 at 08:43