rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] os.makedirs Security Violation


From: Mike Bydalek
Subject: Re: [rdiff-backup-users] os.makedirs Security Violation
Date: Thu, 20 Oct 2005 10:14:09 -0700
User-agent: Thunderbird 1.4.1 (X11/20051011)

Keith Edmunds wrote:
Mike Bydalek wrote:
I suppose I *could* do a mkdir -p, but it just seems redundant to do.

Please try this whilst logged into the backup server *as the user who runs rdiff-backup* - let me stress, it MUST be as the user who experienced the original problem ("backupuser" in your original posting):

$ python
>>> import os
>>> os.makedirs('/home/mbydalek/x/y/z')
>>> ^D

...and let me know what happens. You can remove the superflous directories after with "rm -r /home/mbydalek/x".
Since I am doing it relative to backupuser's home directory, I left out the first /. That said, the code above worked just fine.

-Mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]