how do i change file permissions

Asked by manton1263

how do I change the permission of a system file?? Set to root and won't let me change?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bash Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Ace
Solved:
Last query:
Last reply:
Revision history for this message
Best Ian Ace (iaculallad) said :
#1

If prompted with this message, you can change file permission by using the sudo command:

sudo chmod 755 /location.of.file.here/filename

If you want to own the file:

sudo chown username:username /location.of.file.here/filename

Revision history for this message
manton1263 (manton1263) said :
#2

Thanks Ian Ace A. Culallad, that solved my question.

Revision history for this message
manton1263 (manton1263) said :
#3

Thanks again Ian, As you can see, I'm a newbe and for some reason when I want to reference a manual, most times i get manual not found. I guess I've got to find out how to down load the manuals!

Revision history for this message
Ian Ace (iaculallad) said :
#4

For the reference manual, you could refer to the man pages through terminal:

man chmod

man chown

HTH.