Many time you notice that when you want to execute a particular file or open a particular directory you got a message "
permission denied" It means you do not have permission to open that file Do not worry you just use some command and you can access those file and directory.
steps :-
1. open your terminal
2. first make superuser "
$su"
3. go to that file/directory location.
4. "
chmod 777 filename/directory name"
if some files in that directory and you also change permission those file then
"
chmod -R 777 filename"
what is chmod and how it work -
chmod is a linux command which use for change permission and we are using following options for permissions -
4- Read mode 2- Write mode 1- Execute mode