Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

CHMOD Tutorial with Example and Description

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,350
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 24, 2010

**Additional note: Although I'm sure you are smart enough to figure it out, I wanted to add that this works the same way for directories...eg, if you're in a folder that has several folders in it, you can just type in the name of the folder for the chmod command because at times, you will allow a file to execute, but the folder may block you from entering it in the first place.

If you are viewing this in relation to your website that has already made it to the internet, typically you will be able to right click or select the folder and choose something along the likes of "Change Permissions". Now that you are aware of what the numbers stand for from this video, you should be able to protect your site as well as display all information you give permission to. I did not do a cpanel tutorial due to the variety of cpanels out there along with the rapidly updating UI's.

Learn how to use the chmod command and all the knick knacks associated with it.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (thejacenxpress)

  • Thanks for the video bud! Excellent explanations...however i do have a question, i was under the impression that the first 3 were users, then groups and then others... unless that is for linux and urs is different because ur on Mac? im just new to linux and need to get my info right

    Thx

  • @MrSpideyz The first number controls all three rules for the user, the second number for the group, and then lastly for everyone else. However, I do need to update this video because I've found an easier way to set these up:

    $man chmod

    You'll see that besides numbers you can use letters, so if I want to give the user and group read and write I can easily do this

    $chmod ug+rw filename

    u = user, g=group, o=others, a=all / r = read, w=write, x=exec

    I'll make a new chmod vid soon

see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • @thejacenxpress

    Thank you for the specifications!

    Yes i came across that method as well which is to use the letter directly and quite frankly its pretty practical!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more