OK then why does it work most of the time and fail only occasioanally? On Sunday, 8 April 2018 03:52:03 UTC+10, vince wrote: > > On Friday, April 6, 2018 at 7:48:18 PM UTC-7, Kimberly Olsen wrote: >> >> I've been attempting to get ftp working this morning and suddenly when >> attempting to edit weewx.conf, I get the message below >> >> This is when I am ssh-ing in from my Mac. >> When I attempt to edit the file directly on the pi, I cannot save it >> >> Any ideas ? >> >> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read >> > > > You're running into the classic problem almost all new pi users run into. > The account you're using is almost certainly 'pi' which is a > non-privlieged account. You are trying to edit a file in a location that > only root has privileges for. Run "sudo vi /etc/weewx/weewx.conf" so that > your vi session is running as root. > > Same for your other post about trying to save a skin. You're trying to > save the skin to a root-owned directory, using a non-privileged account. > Again, preface your commands there with 'sudo'. >
-- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.