create a folder in the current directory with 777 chmod linux code example Example: all folder permissions terminal sudo chmod -R -f 777 /path/to/your/file/or/directory