How to Change Permissions on CentOS

Written by dan taylor
  • Share
  • Tweet
  • Share
  • Email

Bypassing the Linux CentOS's "permission denied" message when you want to edit a file is a simple process. CentOS (Community ENTerprise Operating System) is an open-source freeware operating system for the Red Hat Enterprise Linux system. Follow a few steps to allow permissions for any file on CentOS.

Skill level:


  1. 1

    Open the shell prompt.

  2. 2

    Type "ls -1 filename.ext" -- replacing "filename.ext" with the name of the file that you want to change permissions. This should display file information.

  3. 3

    Type "chmod o+w filename.ext" -- again replacing "filename.ext" with the name of the file. The file is now available to everyone for reading and editing purposes.

  4. 4

    Type "chmod go-rw filename.ext" -- replacing "filename.ext" with the proper file name -- to remove those permissions.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.