Re: Running 'rsync' as root misses files

This is a discussion on Re: Running 'rsync' as root misses files within the Rsync forums, part of the Networking and Network Related category; *Hangs head in shame* Back in an earlier version of the program I used to call things needing root priviledges ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2005
Madison Kelly
 
Posts: n/a
Default Re: Running 'rsync' as root misses files

*Hangs head in shame*

Back in an earlier version of the program I used to call things needing
root priviledges via 'sudo'. I recently changed this and I *thought* I
had switched the call over to the new method I use. I even wrote the
code for the new method of calling apps as root but I missed changing
over the actual call itself.

My butt needs a kick for a flagrant display of stupidity. :P

Thanks!

Madison

Tony@servacorp.com wrote:
> Sounds like rsync is being run, not as root, but as the same user
> as that of the program it is called from.
> It might be useful to know what you are doing that you think
> is running rsync as root.
> (In general, having one program with the ability to run a different
> program as root is maybe not such a good idea. Unlimited damage.)
>
> -----Original Message-----
> From: rsync-bounces+tony=servacorp.com@lists.samba.org
> [mailto:rsync-bounces+tony=servacorp.com@lists.samba.org]On Behalf Of
> Madison Kelly
> Sent: Thursday, September 22, 2005 2:05 PM
> To: rsync@lists.samba.org
> Subject: Running 'rsync' as root misses files
>
>
> Hi all,
>
> I was wondering, I run (inside another program) 'rsync' as 'root'
> using '--files-from'. It seems to error though on files with permissions
> where 'everyone' does not have read permissions (ie: permissions of
> '0640').
>
> Is this the normal behaviour for 'rsync' could I be missing something?
>
> Thanks!
> --
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>


--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0