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:
Open the shell prompt.
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.
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.
Type "chmod go-rw filename.ext" -- replacing "filename.ext" with the proper file name -- to remove those permissions.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for