[Buildbot-devel] How to make a sudo remove to working directory
a.t.hofkamp at tue.nl
Mon Jan 2 08:54:40 UTC 2012
On 12/30/2011 11:02 AM, Burak Yilmazturk wrote:
> 2011/12/30 Dustin J. Mitchell<dustin at v.igoro.us<mailto:dustin at v.igoro.us>>
> On Wed, Dec 21, 2011 at 9:36 AM, Burak Yilmazturk
> <yilmazturkburak at gmail.com<mailto:yilmazturkburak at gmail.com>> wrote:
>> I want to use buildbot in nightly concept, so every night I want to begin
>> each build with a fresh working copy. I use clobber mode on svn to get a
>> fresh copy of my project and it uses “rm --rf ” to remove working directory,
>> but in somewhere of our build process some files created with sudo, so I get
>> a "can not remove" error in svn step of nightly build, What could be the
>> easiest way to remove those files?
As an alternative to sudo-removing the files afterwards, you can also consider to change ownership
of the files after you created them.
More information about the devel