2
I'm trying to change the permission for my .bashrc file in Ubuntu but don't seem to have permission. I've tried following the example here:
Open up publicity.html for reading and writing by anyone.
Before: -rw-r--r-- publicity.html
Command: chmod og=rw publicity.html
After: -rw-rw-rw- publicity.html
Here's my terminal session:
username@ubuntu:/etc$ -rw-r--r-- bash.bashrc
-rw-r--r--: command not found
username@ubuntu:/etc$ chmod og=rw bash.bashrc
chmod: changing permissions of `bash.bashrc': Operation not permitted
username@ubuntu:/etc$ -rw-rw-rw- bash.bashrc
-rw-rw-rw-: command not found
Any ideas how I can do it?
Fantastic. Works perfectly! – user20285 – 2010-05-29T00:21:23.690