• Modifying Permissions

    Altering permissions of a file or directory is achieved using the chmod command. To grant the owner/user of a file READ, WRITE and EXECUTE permissions we simply type: chmod u=rwx <file>’ - as shown:

    perms

    The command simply sets the RWX bits for ‘u(user), this can also be extended for ‘g(group) and ‘o(other), furthermore you can adjust the permissions to suit what you require - ‘chmod u=r <file>’ for READ only, etc.


  • This is a question so are you able to answer it?

  • Return Home