[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: User invocation of pppd (Re: diald & pppd trouble query)



>>>>> "Philip" == Philip Tuckey <pat@rs3.univ-fcomte.fr> writes:

    Philip> ...
    Philip> chown root.ppp /etc/ppp/ppp-connect
    Philip> chmod 750 /etc/ppp/ppp-connect

    Philip> There is a slight problem here. If I use emacs to edit this
    Philip> file, the new version is back as root.root, so I have to chown
    Philip> it again. (This doesn't happen with vi - is this a bug with
    Philip> emacs, or an unavoidable consequence of the different backup
    Philip> startegy?)

Putting this line in your .emacs file should mean the group owner doesnt
change :-

(setq backup-by-copying-when-mismatch t)

It's probably a good idea to also add :-

(setq backup-by-copying-when-linked t)

Cheers
Guy

PS. These variables are documented in the emacs manual.




Reply to: