I am looking for some solution, working with Samba preferably, which would allow multiple users to work on one document. This means that if a user makes a change to the document, a previous version of that document is saved somewhere else. For example, user A opens a document (rw - read/write, ro - read-only document): rw \\server\share\document.txt User makes some changes, and saves it to the same place. This SVN/CVS-like share handles the change inteligently, and makes a copy of the previous file to a ro file somewhere else: ro \\server\share\backup\2005.12.22-16:24:04\document.txt Do you have something in mind which would allow me to do something like that *transparently* to the user (assuming the user doesn't know much more about computers than opening Word document etc.)? -- Tomek http://wpkg.org WPKG - software management with Samba
Hi! On Thu, Dec 22, 2005 at 04:24:59PM +0100, Tomasz Chmielewski wrote:> This SVN/CVS-like share handles the change inteligently, and makes a copy of the > previous file to a ro file somewhere else:http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2618377 ? WBR -- Dmitriy Kirhlarov OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com OILspace - The resource enriched - www.oilspace.com
On Thursday 22 December 2005 08:24, Tomasz Chmielewski wrote:> I am looking for some solution, working with Samba preferably, which > would allow multiple users to work on one document. > > This means that if a user makes a change to the document, a previous > version of that document is saved somewhere else. > > For example, user A opens a document (rw - read/write, ro - read-only > document): > > rw \\server\share\document.txt > > User makes some changes, and saves it to the same place. > > This SVN/CVS-like share handles the change inteligently, and makes a > copy of the previous file to a ro file somewhere else: > > ro \\server\share\backup\2005.12.22-16:24:04\document.txt > > > Do you have something in mind which would allow me to do something like > that *transparently* to the user (assuming the user doesn't know much > more about computers than opening Word document etc.)?http://www.samba.org/samba/docs/Samba3-ByExample.pdf Folks, please refer all who ask deployment related questions to the "Samba-3 By Example book", not "The Official Samba-3 HOWTO and Reference Guide". When you send a novice to read the HOWTO, it's like telling them to practice for running a marathon before they can walk. It's like telling them to read a mechanic's guide before they know what is a car. - John T.
Tomasz, You can use subversion to accomplish what you are doing easily. In subversion there are these hook scripts ( http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1) that can be invoked when a user commits or checkout a file. So in your case you can write a simple commit hook that copies the last version to a ro filesystem and then commits the document.> When you send a novice to read the HOWTO, it's like telling them topractice> for running a marathon before they can walk. It's like telling them toread a> mechanic's guide before they know what is a car.John I think you are assuming too much here about the user from one simple email question. I do see the point you are trying to make, but how is Dmitriy to know what skill level Tomasz possess? Also often the user might be just trying to find out that it can be done. Vijay Avarachen :wq! On 12/22/05, Tomasz Chmielewski <mangoo@wpkg.org> wrote:> > I am looking for some solution, working with Samba preferably, which > would allow multiple users to work on one document. > > This means that if a user makes a change to the document, a previous > version of that document is saved somewhere else. > > For example, user A opens a document (rw - read/write, ro - read-only > document): > > rw \\server\share\document.txt > > User makes some changes, and saves it to the same place. > > This SVN/CVS-like share handles the change inteligently, and makes a > copy of the previous file to a ro file somewhere else: > > ro \\server\share\backup\2005.12.22-16:24:04\document.txt > > > Do you have something in mind which would allow me to do something like > that *transparently* to the user (assuming the user doesn't know much > more about computers than opening Word document etc.)? > > > -- > Tomek > http://wpkg.org > WPKG - software management with Samba > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >-- "Knowledge is the only wealth that grows as you spend it, and diminishes as you save it." -- ancient Sanskrit saying
While Samba is a great tool, there is no one tool that will work for every occasion. The use you are describing may be very well served with a collaboration tool, such as a Wiki. A web based solution, there are many flavors out there which have various levels of security and accessories. Personally, I happen to favor TWiki (see http://www.twiki.org/). It has a fair CVS system built in, can support multiple projects simultaneously, and many other useful features. You user simply goes to a web page, views the document, edits it as necessary, and moves on. It is fairly user friendly. If your user can learn to log into a computer, open Word, edit a document, close it, and later find the dame document, he should have little problem with a Wiki site. Previous copies are retained, and there is a difference feature which will highlight the changes between recent versions. Just a thought. Michael Tomasz Chmielewski told me on 12/22/2005 09:24:> I am looking for some solution, working with Samba preferably, which > would allow multiple users to work on one document. > > This means that if a user makes a change to the document, a previous > version of that document is saved somewhere else. > > For example, user A opens a document (rw - read/write, ro - read-only > document): > > rw \\server\share\document.txt > > User makes some changes, and saves it to the same place. > > This SVN/CVS-like share handles the change inteligently, and makes a > copy of the previous file to a ro file somewhere else: > > ro \\server\share\backup\2005.12.22-16:24:04\document.txt > > > Do you have something in mind which would allow me to do something like > that *transparently* to the user (assuming the user doesn't know much > more about computers than opening Word document etc.)? > >