I ran the following commands:

$sudo chmod 777 -R /var/lib/trac/db/trac.db

It worked fine.

Also, I ran the command:

sudo trac-admin /var/lib/trac permission list

User           Action
------------------------------
ajeet          TRAC_ADMIN
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN,
ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP,
TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW

[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ sudo chmod 777 -R /var/lib/trac/db/trac.db
[EMAIL PROTECTED]:~$ sudo trac-admin /var/lib/trac permission list

User           Action
------------------------------
ajeet          TRAC_ADMIN
anonymous      BROWSER_VIEW
anonymous      CHANGESET_VIEW
anonymous      FILE_VIEW
anonymous      LOG_VIEW
anonymous      MILESTONE_VIEW
anonymous      REPORT_SQL_VIEW
anonymous      REPORT_VIEW
anonymous      ROADMAP_VIEW
anonymous      SEARCH_VIEW
anonymous      TICKET_VIEW
anonymous      TIMELINE_VIEW
anonymous      WIKI_VIEW
authenticated  TICKET_CREATE
authenticated  TICKET_MODIFY
authenticated  WIKI_CREATE
authenticated  WIKI_MODIFY


Available actions:
 BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW,
 LOG_VIEW, MILESTONE_ADMIN, MILESTONE_CREATE, MILESTONE_DELETE,
 MILESTONE_MODIFY, MILESTONE_VIEW, PERMISSION_ADMIN, PERMISSION_GRANT,
 PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE, REPORT_DELETE,
 REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW, ROADMAP_ADMIN,
ROADMAP_VIEW,
 SEARCH_VIEW, TICKET_ADMIN, TICKET_APPEND, TICKET_CHGPROP,
TICKET_CREATE,
 TICKET_EDIT_CC, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY, TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, WIKI_ADMIN, WIKI_CREATE, WIKI_DELETE,
 WIKI_MODIFY, WIKI_VIEW


Can I know which user we should set for TRAC_ADMIN. Does it talk about
the system User or the user listed in authz file?
I tried supplying authz (SVN) user "ajeet" for BROWSE_VIEW permission
but nowhere I can find he can login.

Pls Help me .
On May 9, 10:49 am, "Erik Andersson" <[EMAIL PROTECTED]> wrote:
> You could try searching for TRAC_ADMIN, permission on trac.edgewall.org or
> google..
>
> http://trac.edgewall.org/wiki/TracPermissions
>
> Cheers / Erik
>
>
>
> On Fri, May 9, 2008 at 7:35 AM, Raina <[EMAIL PROTECTED]> wrote:
>
> > I cant see any option called admin anywhere.What it means:
>
> > [code]
> > Make
> > > sure that the user you are logging in with has TRAC_ADMIN permissions
> > [/code]
>
> > How can I enable the permission?Are you talking abt entry in trac.ini.
> > (I guess not)
>
> > I just installed trac-0.11 and ran the command:
>
> > [code]
> > $sudo tracd -p 8000 /var/lib/trac
> > [/code]
>
> > My trac.ini file :
> > [code]
> > # -*- coding: utf-8 -*-
>
> > [attachment]
> > max_size = 262144
> > render_unsafe_content = false
>
> > [browser]
> > color_scale = True
> > downloadable_paths = /trunk, /branches/*, /tags/*
> > hide_properties = svk:merge
> > intermediate_color =
> > intermediate_point =
> > newest_color = (255, 136, 136)
> > oldest_color = (136, 136, 255)
> > oneliner_properties = trac:summary
> > render_unsafe_content = false
> > wiki_properties = trac:description
>
> > [changeset]
> > max_diff_bytes = 10000000
> > max_diff_files = 0
> > wiki_format_messages = true
>
> > [header_logo]
> > alt = (please configure the [header_logo] section in trac.ini)
> > height = -1
> > link =
> > src = site/your_project_logo.png
> > width = -1
>
> > [inherit]
> > plugins_dir =
> > templates_dir =
>
> > [logging]
> > log_file = trac.log
> > # log_format = <inherited>
> > log_level = DEBUG
> > log_type = none
>
> > [milestone]
> > stats_provider = DefaultTicketGroupStatsProvider
>
> > [mimeviewer]
> > enscript_modes = text/x-dylan:dylan:4
> > enscript_path = enscript
> > max_preview_size = 262144
> > mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
> > php_path = php
> > tab_width = 8
>
> > [notification]
> > admit_domains =
> > always_notify_owner = false
> > always_notify_reporter = false
> > always_notify_updater = true
> > ignore_domains =
> > mime_encoding = base64
> > smtp_always_bcc =
> > smtp_always_cc =
> > smtp_default_domain =
> > smtp_enabled = false
> > smtp_from = [EMAIL PROTECTED]
> > smtp_from_name =
> > smtp_password =
> > smtp_port = 25
> > smtp_replyto = [EMAIL PROTECTED]
> > smtp_server = localhost
> > smtp_subject_prefix = __default__
> > smtp_user =
> > ticket_subject_template = $prefix #$ticket.id: $summary
> > use_public_cc = false
> > use_short_addr = false
> > use_tls = false
>
> > [project]
> > admin =
> > descr = My example project
> > footer = Visit the Trac open source project at<br /><a href="http://
> > trac.edgewall.org/">http://trac.edgewall.org/</a>
> > icon = common/trac.ico
> > name = DICE
> > url =
> > [query]
> > default_anonymous_query = status!=closed&cc~=$USER
> > default_query = status!=closed&owner=$USER
> > items_per_page = 100
>
> > [report]
> > items_per_page = 100
> > items_per_page_rss = 0
>
> > [revisionlog]
> > default_log_limit = 100
>
> > [roadmap]
> > stats_provider = DefaultTicketGroupStatsProvider
>
> > [search]
> > min_query_length = 3
>
> > [svn]
> > branches = trunk,branches/*
> > tags = tags/*
>
> > [ticket]
> > default_component =
> > default_milestone =
> > default_priority = major
> > default_resolution = fixed
> > default_type = defect
> > default_version =
> > max_description_size = 262144
> > preserve_newlines = default
> > restrict_owner = false
> > workflow = ConfigurableTicketWorkflow
>
> > [ticket-workflow]
> > accept = new,assigned,accepted,reopened -> accepted
> > accept.operations = set_owner_to_self
> > accept.permissions = TICKET_MODIFY
> > leave = * -> *
> > leave.default = 1
> > leave.operations = leave_status
> > reassign = new,assigned,accepted,reopened -> assigned
> > reassign.operations = set_owner
> > reassign.permissions = TICKET_MODIFY
> > reopen = closed -> reopened
> > reopen.operations = del_resolution
> > reopen.permissions = TICKET_CREATE
> > resolve = new,assigned,accepted,reopened -> closed
> > resolve.operations = set_resolution
> > resolve.permissions = TICKET_MODIFY
>
> > [timeline]
> > abbreviated_messages = true
> > changeset_collapse_events = false
> > changeset_long_messages = false
> > changeset_show_files = 0
> > default_daysback = 30
> > max_daysback = 90
> > newticket_formatter = oneliner
> > ticket_show_details = false
>
> > [trac]
> > authz_file = /home/vjs/repository/conf/authz
> > authz_module_name =
> > auto_reload = False
> > base_url =
> > check_auth_ip = true
> > database = sqlite:db/trac.db
> > default_charset = iso-8859-15
> > htdocs_location =
> > ignore_auth_case = false
> > mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
> > metanav = login,logout,prefs,help,about
> > permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
> > permission_store = DefaultPermissionStore
> > repository_dir = /home/vjs/repository
> > repository_type = svn
> > show_email_addresses = false
> > timeout = 20
> > use_base_url_for_redirect = False
> > TracSVNAuthzPlugin = true
> > [wiki]
> > ignore_missing_pages = false
> > render_unsafe_content = false
> > split_page_names = false
>
> > [components]
> > webadmin.* = enabled
> > [/code]
>
> > Pls Help.
> > I can only see Wiki,Timeline,Roadmap,Brose Source,View Tickiets,New
> > Tckts,Search,Login etc..But not admin stuff..
> > Pls Help
>
> > On May 8, 6:23 pm, "Stephen Moretti" <[EMAIL PROTECTED]>
> > wrote:
> > > 2008/5/8 Raina <[EMAIL PROTECTED]>:
>
> > > > Thanks for the reply.I went through the doc and installed new TRAC
> > > > 0.11rc .I dont see any option where Webadmin is installed could be
> > > > checked.
> > > > How gonna I know if Webadmin is installed or not . Kindly refer the
> > > > docshttp://www.trac-hacks.org/wiki/TracSvnAuthzPluginwhereit says
> > > > Webadmin has to be installed for 0.11rc
>
> > > You don't need to enable it.  The web admin is available by default.
> >  Make
> > > sure that the user you are logging in with has TRAC_ADMIN permissions.
> >  You
> > > should see and "admin" link at the far right of the menu.  This is the
> > web
> > > admin.
>
> > > > Can you pls help me as I tried running this command:
>
> > > > [EMAIL PROTECTED]:/var/lib/trac/conf$ sudo easy_install
> > > >https://svn.geophysik.uni-muenchen.de/svn/tracmods/tracsvnauthzplugin.
> > ..
> > > > Downloading
> > > >https://svn.geophysik.uni-muenchen.de/svn/tracmods/tracsvnauthzplugin.
> > ..
> > > > error: Download error for
> > > >https://svn.geophysik.uni-muenchen.de/svn/tracmods/tracsvnauthzplugin.
> > ..
> > > > :
> > > > (110, 'Connection timed out')
>
> > > That should work.  You should get a prompt to accept a certificate
> > > temporarily after which the install should go ahead.
>
> > > If its installed correctly, when you go into the plugin section under the
> > > admin you should see "tracsvnauthz 0.11.1" as a plugin.  Expand this
> > entry
> > > by clicking on the name and checking the box in the "enabled" column. And
> > > that should be it. You should see an new entry in the admin menu to the
> > left
> > > called "Subversion > Permissions"
>
> > > Regards
>
> > > Stephen- 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