permissions chmod Flashcards
The the types of users you can permissions for are
root, group, everyone
https://www.youtube.com/watch?v=wXVauecQPI0
To set full permissions to all every user type for a file, type
sudo chmod 777 file.html
the number associated with every permission is
execute = 1 write = 2 read = 4
chmod: the basics I need to memorize are
root, group, everyone
execute = 1 write = 2 read = 4
sudo chmod 777 file.html
each number represents the permissions you want to set for root, group, everyone respectively.
The sum of all the permissions is the permissions you will set.
when you type ls -l and see -rwxrwxrwx, the first dash
means its a file. If it was a directory, the dash would be a d
https://www.youtube.com/watch?v=MFQpdELKTLc
to make the current user the owner of a file, type
sudo chown -R $USER file.html
note: $USER is a variable for my user