Dear Mark,
Thanks for your quick reply . Error is resolved. 
Now I want to create user privileges  .
Example:-  I created new repository, name - myrepo . Inside myrepo 
repository I created /trunk, /branches/*, /tags/* . I want to give only rw 
permission for /branch to developer user.
For that I create one user developer then edit conf/trac.ini and added 
[trac]
authz_file = /var/local/trac/authz
permission_policies = AuthzPolicy, DefaultPermissionPolicy, 
LegacyAttachmentPolicy

Inside authz file I added 
[myrepo:/branches]
developer = rw  

But user developer can access all the /trunk, /branches/*, /tags/* .

Can You please tell me where I am doing wrong .....

Waiting for your reply.

Thank You,
Sanju.



On Wednesday, 27 February 2013 14:25:38 UTC+5:30, Cooke, Mark wrote:
>
> > -----Original Message----- 
> > From: [email protected] <javascript:> On Behalf Of Sanjeeb 
> Mohanta 
> > Sent: 27 February 2013 07:07 
> > To: [email protected] <javascript:> 
> > Subject: [Trac] create new repository 
> > 
> > HI, 
> > I am a new user. I configured TRAC on my local server. I am 
> > unable to create repository. I am getting mgs. "You should 
> > now run trac-admin $ENV repository resync "testrepo2" to 
> > synchronize Trac with the repository." when I run this 
> > command on server terminal , getting error.... 
> > 
> > #cd /var/local/trac 
> > #trac-admin $ENV repository resync "testrepo2" 
> > 
> > Error: No Trac environment found at /var/local/trac/repository 
> > [Errno 2] No such file or directory: 
> > '/var/local/trac/repository/VERSION' 
> > 
> > Waiting for your reply. 
> > 
> > Thank You. 
>
> Are you expecting Trac to be able to actually _create_ a brand new 
> subversion repository on your local filesystem?  If so then this is not 
> part of Trac's code, you need to create the subversion repo using 
> subversion tools (svnadmin create ...). 
>
> However, if your repo exists and you just want to connect Trac to it, the 
> message is saying that you need to get trac to re-scan the repository (and 
> you also need to setup the svn repository post-commit hook to keep trac 
> updated). 
>
> The error you report is because the command you show: 
>
> > #cd /var/local/trac 
> > #trac-admin $ENV repository resync "testrepo2" 
>
> ...is wrong.  You need to replace `$ENV` with the path to your trac 
> environment folder.  If that is `/var/local/trac` (i.e. you are not using a 
> trac parent path) then you can just swap `.` for `$ENV`... 
>
> I hope that helps. 
>
> ~ Mark C 
>

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


Reply via email to