SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Write access required for rsnapshot du
Author Message
Post Write access required for rsnapshot du 
Hi all,

First, I offer my thanks and congratulations to the rsnapshot team and contributors for having created such an appropriate and viscerally satisfying utility. If anyone ever wonders what possible use hard links might have, they need look no further than rsnapshot.

I have encountered just one minor inconvenience (do users sign up for this mailing list otherwise?). If User A owns a snapshot root and wishes to allow User B to inspect its disk usage via the 'rsnapshot du' command, this is disallowed if User B cannot _write_ to the archive. Since 'du' is a read-only command, I feel this should be allowed as long as _read_ access is permitted. (In my specific use case, User A is an account created to host a game server, and User B is a web server process attempting to check its save game archive's disk usage.)

Attached is the tiny patch I've been using to make this possible (based on the version in Ubuntu, but these lines seem to be the same in the CVS head). It is too conservative and specific to this one situation, but it gives an idea of what is needed, and I would like to return to running the main released version someday. Does this look like the type of thing that could be added to rsnapshot?



Thanks for your time!
--
Paul
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post Write access required for rsnapshot du 
On Fri, Apr 29, 2011 at 08:24:40PM -0500, Paul Hebble wrote:

If User A owns a snapshot root and wishes to allow User B to inspect its disk usage via the 'rsnapshot du' command, this is disallowed if User B cannot _write_ to the archive. Since 'du' is a read-only command, I feel this should be allowed as long as _read_ access is permitted.

Attached is the tiny patch I've been using to make this possible

I applied your patch. Thanks!

--
David Cantrell | Hero of the Information Age

Computer Science is about lofty design goals and careful algorithmic
optimisation. Sysadminning is about cleaning up the resulting mess.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB