Tags » File Permission

Inspired by Laravel, bugged by file permission

Before it worked and the light came up, It was first like a darkside to troubleshoot, I had to change ownership of the new Laravel… 751 more words

Inspiration

Linux file permission

In Linux the file permissions are divided to 3, read permission, write permission and execute permission, it is also divided to this 3 entity, the user that is owner of the file, the group owner of the file and other. 865 more words

Linux

Refactoring bash scripts

Checking file permissions in terminal

$ ls -l
drwxrwxr-x 3 vagrant vagrant 4096 Jun  7 00:58 R
-rw-rw-r-- 1 vagrant vagrant    7 Jun  8 20:22 test.sh
-rw-rw-r-- 1 vagrant vagrant    7 Jun  8 20:22 test1.sh
# -rw-rw-r--
#first letter (-) indicates, it's file. 346 more words
Bash Scripting

Beginner's guide to file permission in Linux

When you are executing shell scripts you can execute it using (Assuming your .sh file in your current directory)

bash file_name.sh

or

./file_name.sh

but when you run script in ./ method you may find…

607 more words