LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with Keep backup system (https://www.linuxquestions.org/questions/linux-software-2/problems-with-keep-backup-system-747829/)

newbiesforever 08-15-2009 06:53 PM

problems with Keep backup system
 
I learned how to use Keep, but only from the root account. Trying to perform a backup from my account, I got this long string of error messages:
Quote:

An error occured making /home/josh backup:
Cannot change permissions on target directory. Exception '[Errno 1] Operation not permitted: '/mnt/sdb1/New Folder/rdiff-backup.tmp.1'' raised of class '': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 559, in patch_to_temp rpath.copy_attribs(diff_rorp, new) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 189, in copy_attribs rpout.chmod(rpin.getperms()) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 927, in chmod self.conn.os.chmod(self.path, permissions & Globals.permission_mask) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 280, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 346, in Backup backup.Mirror(rpin, rpout) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 232, in patch ITR(diff.index, diff) File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 281, in __call__ last_branch.fast_process(*args) File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 529, in fast_process if self.patch_to_temp(mirror_rp, diff_rorp, tf): File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 559, in patch_to_temp rpath.copy_attribs(diff_rorp, new) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 189, in copy_attribs rpout.chmod(rpin.getperms()) File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 927, in chmod self.conn.os.chmod(self.path, permissions & Globals.permission_mask) OSError: [Errno 1] Operation not permitted: '/mnt/sdb1/New Folder/rdiff-backup.tmp.1'
I can't say I understand that fully, but it obviously means my account
can't perform the backup because it doesn't have the right file permissions. I should have permissions to do everything, thank you--it's my computer. I guess I'll try to chown my backup drive to my account, since MEPIS says root owns it...

newbiesforever 08-15-2009 07:39 PM

Never mind, I solved my own problem. The problem andthe solution were exactly the same as described in post #5 of my old thread http://www.linuxquestions.org/questi...ighlight=chown .


All times are GMT -5. The time now is 10:13 AM.