Horje
give permission to file ubuntu Code Example
ubuntu add permission to folder
sudo chmod -R 777 /var/DirectoryName
give permission to file ubuntu
sudo chmod 777 /path
how assign permission to a folder and all contents in ubuntu|linux
only change the no(like 777,775 etc) according to your need 
current scenior i am giving full permission to file/sub-directories
chmod -R 777 your_directory_name
assign permission to files and folder ubuntu separate
To change all the directories to 755 (drwxr-xr-x):
find /opt/lampp/htdocs -type d -exec chmod 755 {} \;

To change all the files to 644 (-rw-r--r--):
find /opt/lampp/htdocs -type f -exec chmod 644 {} \;




Shell

Related
xrandr add 1366 Code Example xrandr add 1366 Code Example
brew install eb cli Code Example brew install eb cli Code Example
if argument bash Code Example if argument bash Code Example
if argument exists bash Code Example if argument exists bash Code Example
if argument supplied bash Code Example if argument supplied bash Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11