Originally posted by skopje909
I am having trouble changing the permissions on a file. I edited the file, but got the error when I went to save it. I am trying tp edit /etc/services file. If I do a "ls -ld services" it returns :
-rw-r--r-- 1 root root
How can I change it to enable the root to edit and save it...sounds like someone has hacked into it....
When I try to the chmod command it returns :
chmod : /etc/services : Operation not permitted.
With these settings the root user are allowed to edit the file.
You are probably not logged in as root.
root has read and write permission
the group root has read permission
and all others have read permission