Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289047
Collapse All | Expand All

(-)backintime-0.9.26.orig/common/snapshots.py (-3 / +3 lines)
Lines 314-320 Link Here
314
			return
314
			return
315
315
316
		path = self.get_snapshot_path( snapshot_id )
316
		path = self.get_snapshot_path( snapshot_id )
317
		cmd = "chmod -R a+rwx \"%s\"" %  path
317
		cmd = "find \"%s\" -type d -exec chmod u+wx {} \\;" % path
318
		self._execute( cmd )
318
		self._execute( cmd )
319
		cmd = "rm -rfv \"%s\"" % path
319
		cmd = "rm -rfv \"%s\"" % path
320
		self._execute( cmd )
320
		self._execute( cmd )
Lines 574-581 Link Here
574
		new_snapshot_path = self.get_snapshot_path( new_snapshot_id )
574
		new_snapshot_path = self.get_snapshot_path( new_snapshot_id )
575
575
576
		if os.path.exists( new_snapshot_path ):
576
		if os.path.exists( new_snapshot_path ):
577
			#self._execute( "find \"%s\" -type d -exec chmod +w {} \;" % new_snapshot_path )
577
			self._execute( "find \"%s\" -type d -exec chmod u+wx {} \\;" % new_snapshot_path )
578
			self._execute( "chmod -R a+rwx \"%s\"" %  new_snapshot_path )
578
			#self._execute( "chmod -R a+rwx \"%s\"" %  new_snapshot_path )
579
			self._execute( "rm -rf \"%s\"" % new_snapshot_path )
579
			self._execute( "rm -rf \"%s\"" % new_snapshot_path )
580
		
580
		
581
			if os.path.exists( new_snapshot_path ):
581
			if os.path.exists( new_snapshot_path ):

Return to bug 289047