Monday, July 4, 2016

Change permission of specific file or folder in Ubuntu


Sometimes user might not get access to read/write a file or folder. This is due to the fact that the user is not granted full permission to modify them. The simplest method to change the permission for files and folder in Ubuntu are given below:
  • Open the terminal: Ctrl+Alt+T
  • Change the directory by using the change directory command, 'cd' as:
    cd location/location/.../location
  • Type the following codes:
    chmod 777 filename_with_extension/foldername
  • This will give you access to the specific file or folder.
    Click here to know how to get access to all the contents of a folder.

No comments:

Post a Comment