ubuntu wont let me edit /etc/init.d/ files
R. Mattes
rm at mh-freiburg.de
Fri Feb 4 15:45:23 UTC 2005
Erik Bågfors wrote:
>Because the file is read only? Try "sudo chmod +w /etc/init.d/vmware" ?
>
>/Erik
>
>
No, don't! There is a reason for these permissions. The way these files
are installed
prevent accidental changes of the file (many users use vi et.al. to
_look_ at files and
it's all to easy to accidentally type an 'i' or 'a' character). The
init-scripts are hyper-
sensitive since a corrupted script can prevent booting of the system.
The (small)
price one has to pay for the extra protection is worth it. :-)
HTH RalfD
>On Fri, 4 Feb 2005 16:51:52 +0800, Senectus . <senectus at gmail.com> wrote:
>
>
>>On Fri, 04 Feb 2005 08:42:03 +0000, Sean Miller <sean at seanmiller.net> wrote:
>>
>>
>>>Senectus . wrote:
>>>
>>>
>>>
>>>>I'm trying to apply the vmware ubuntu work around, but my machine wont
>>>>let me edit the /etc/init.d/vmware file...
>>>>If I vi it as root or sudo vi it it will open it in readonly mode..?!?!
>>>>I've never had this issue before.. and idea what I can do to get around it?
>>>>
>>>>
>>>>
>>>>
>>>Does :w! work to save (remember the !)??
>>>
>>>
>>yeah it does.. thanks
>>I wonder why its saying that it's read only.. ?
>>
>>--
>>Ubuntu Warty 4.10
>>
>>--
>>ubuntu-users mailing list
>>ubuntu-users at lists.ubuntu.com
>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>>
>
>
>
More information about the ubuntu-users
mailing list