Jump to content

File permissions


dotkpay

Recommended Posts

  • 3 weeks later...

Sorry not to walk all over thorpe with this one, has helped me out allot in the past.

 

If you are running Linux (I can't remember for windows on this), but if Apache for example (presuming most people will be using Apache, I think IIS runs as System user), you would need to allow Apache to be able to write to those files or directories for them to work (not sure about commandline based apps though I think I can remember that being just your own user name), likewise with windows it would have to be System user you would need to allow to be able to write to that folder but I am not entirely sure.

 

I don't think with Windows though Administrators enough but I have never really tried myself.

Link to comment
Share on other sites

Unix based OSs use the Owner-Group-Other file permissions system.  Your example of 644 is a three digit code in octal (0-7) to represent the permissions on a file.  The first digit '6' is the owners permission on the file, the second digit '4' is the group permission on the file and the third '4' is everyone else's permission on the file.  The permission is an octal number representing the sum permission, the read permission is represented in the number by the value of 4, the write permission has the value of 2, the execute permission has a value of 1 and no permission has the value of 0.  Again in your example (644) the owner has permission value of 6, from this we can derive that the permissions are the read permission (with the value of 4) and the write permission (with the value of 2).

 

That's the basic stuff, there is more of course, this is the best tutorial I could find for you.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.