Yes you are right when i was running the tracd service, it was
runnning with administrator privileges.I checked the permission of
Source (D:\proj\*.*) and Destination (D:\backup\*.*) , both have
administrator privileges.But i get the permission denied for no
reasons, but the environment is backed properly.  As of now , i am not
using the tracd service, but i make use of Apache (httpd.conf) to
initiate the trac project environment.

On Nov 18, 9:33 pm, "Cooke, Mark" <[email protected]> wrote:
> > > > This is Balaji. I have recently installed Trac version 0.11.5 using
> > > > Apache + mod_python method . Installation and configuration of
> > > > database and users went fine without any trouble.
>
> > > > I am trying to make use of hotcopy utility inorder to get the backup
> > > > of the multi-project environment D:\proj\trac\ and D:\proj\trac1. The
> > > > hotcopy is done properly but i am gettting the error messages like
> > > > below,
>
> > > > C:\Documents and Settings\Administrator>d:\Python24\Scripts\trac-
> > > > admin.exe  D:\proj\trac hotcopy D:\backup\trac-proj
> > > > Hotcopying D:\proj\trac to D:\backup\trac-proj...
> > > > The following errors happened while copying the environment:
> > > >   [Errno 13] Permission denied: 'D:\\backup\\trac-proj\\attachments':
> > > > 'D:\proj\trac\attachments'
> > > >   [Errno 13] Permission denied: 'D:\\backup\\ trac-proj \\conf': 'D:
> > > > \proj\trac\conf'
>
> <snip similar messages>
>
>
>
>
>
> > > I am guessing you are on windoze (the D:\ sort of gives it away), so
> > > permission issues are less likely but not impossible.  How have you
> > > configured apache?  Which user does it use?  What permissions are set on
> > > the trac and target directories?  Remember trac on windoze usually runs
> > > as the apache user which is configured when you setup the service (did
> > > you install yourself or use a packaged installer?)
>
> > > From memory, the trac hotcopy script only works with sqlite ~ which
> > > database backend are you using?
>
> > Yes i am running trac 0.11.5 on windows xp machine.I have configured
> > apache for the multi-project trac environment. Separate sqlite
> > database is used as the backend for both the project environment.
> > Apache is running with the previleges of Local System Account . Apache
> > 2.0 had been installed in this machine before even i started with Trac
> > 0.11.5 configuration.
>
> > In my previous setup in a different xp machine, the trac 0.10 version
> > has been congifured without Apache,i used the default method ,D:
> > \Python24\Scripts\tracd --port 8000 --auth trac,D:\myproj
> > \digest.txt,trac D:\proj, to start the tracd daemon. i was not getting
> > the [Error 13 Permission denied] when the hotcopy command was used.
>
> When you ran tracd it would have been running as you (unless you changed this 
> when setting up as-a-service?).  How do you have the hotcopy setup, do you 
> run it interactively?  Have you checked the permission settings on the source 
> and target directories for the account that runs the hotcopy command?
>
> Although less common on windoze, permissions for directories can be changed 
> (I have done this to comply with my company's policies) to exclude most users 
> and that does seem the mostr likely explanation at the moment.  However, I do 
> not use hotcopy myself as I use PostgreSQL backend...
>
> ~ Mark C- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.


Reply via email to