Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.etla.org!aioe.org!.POSTED!not-for-mail From: Kaz Kylheku Newsgroups: comp.programming Subject: Re: Prevent overwriting files on FTP (need a Linux program) Date: Tue, 8 Apr 2014 21:18:21 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 31 Message-ID: <20140408141610.150@kylheku.com> References: <20140408125201.830@kylheku.com> NNTP-Posting-Host: X+c6YNb3AaWMPA3YfA4opg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: slrn/pre1.0.0-18 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.programming:4196 On 2014-04-08, Victor Porton wrote: > Kaz Kylheku wrote: >> On 2014-04-08, Victor Porton wrote: >>> I use Debian Linux. >>> >>> I edit files on an FTP server. I need to be warned when somebody else >>> have written a file in order me not to overwrite it. >> >> Then what do you do with your changes? > > If I see there may ve overwrites, I could resolve the problem manually. The > trouble is to know when there are conflicts, not how to resolve them. > >> Multiple people concurrently updating files is solved by version control. > > Yes I know... Since this is comp.programming, we have programming tools. Manually resolving conflicts is a decades-old approach belonging in the 1960's. (By 1970's, we had version control.) >> Instead of a FTP directory you have a shared repo, which handles >> situations of changes to the same file (possibly conflicting ones). > > ... but version control software is not installed on our server :-( I am not > the admin neither have root password to solve this problem myself. Use distributed version control among yourselves; and synchronize from an off-server master repo to the files on the server. You can have more control this way about what goes "live" and when.