LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't write to /etc/sysconfig/network (https://www.linuxquestions.org/questions/linux-newbie-8/cant-write-to-etc-sysconfig-network-583010/)

devnu11 09-07-2007 03:36 PM

Can't write to /etc/sysconfig/network
 
I'm feeling like a newbie today so I'm posting in the newbie forum. I just picked up a value dedicated server with CentOS 5. I tried to edit /etc/sysconfig/network as root and I received "permission denied."

# whoami
root

The permissions on network:
# ls -l network
-rw-r--r-- 1 root root 65 Sep 6 12:16 network

# mount
/dev/hda3 on / type ext3 (rw,usrquota,grpquota)

Any ideas? I'm kind of stumped.

Samotnik 09-07-2007 04:18 PM

Check /etc/sysconfig/ directory permissions.

devnu11 09-07-2007 04:30 PM

drwxr-xr-x 11 root root 4096 Sep 7 08:34 sysconfig

When I run CentOS I'm usually running OpenVZ which means selinux is disabled. This server is not going to be running OpenVZ and at this time selinux is "enforced." Will that do it?


All times are GMT -5. The time now is 12:29 PM.