Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 07:12:52 GMT
From:      Posé Sébastien <sebastien.pose@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151572: The first start of Tucan failed because it can't write its configuration.
Message-ID:  <201010190712.o9J7CqcD044449@www.freebsd.org>
Resent-Message-ID: <201010190720.o9J7K88M095564@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151572
>Category:       ports
>Synopsis:       The first start of Tucan failed because it can't write its configuration.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 07:20:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Posé Sébastien
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
FreeBSD pomme 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When tucan starts the first time, it copies configurations files from /usr/local/share/tucan/default_plugins to the user home directory (~/.tucan/plugins/). Then the wizard starts and try to save plugins configurations and failed.

Configurations files (service.conf) are not writable by the user:
.tucan/plugins/megaupload:
total 42
-r--r--r--  1 seb  seb     0  7 oct  2009 __init__.py
-r--r--r--  1 seb  seb   134 18 oct 11:59 __init__.pyc
-r--r--r--  1 seb  seb  2055  7 oct  2009 anonymous_download.py
-r--r--r--  1 seb  seb  2328 18 oct 11:59 anonymous_download.pyc
-r--r--r--  1 seb  seb  3065  7 oct  2009 captcha.py
-r--r--r--  1 seb  seb  3351 18 oct 11:59 captcha.pyc
-r--r--r--  1 seb  seb  1938  7 oct  2009 check_links.py
-r--r--r--  1 seb  seb  1812 18 oct 11:59 check_links.pyc
-r--r--r--  1 seb  seb   318  7 oct  2009 favicon_megaupload.ico
-r--r--r--  1 seb  seb  1424  7 oct  2009 premium_cookie.py
-r--r--r--  1 seb  seb  1054 18 oct 11:59 premium_cookie.pyc
-r--r--r--  1 seb  seb  2078  7 oct  2009 premium_download.py
-r--r--r--  1 seb  seb  2095 18 oct 11:59 premium_download.pyc
-r--r--r--  1 seb  seb  2003  7 oct  2009 premium_parser.py
-r--r--r--  1 seb  seb  1909 18 oct 11:59 premium_parser.pyc
-r--r--r--  1 seb  seb   360 18 oct 11:59 service.conf

.tucan/plugins/rapidshare:
total 30
-r--r--r--  1 seb  seb     0  7 oct  2009 __init__.py
-r--r--r--  1 seb  seb   134 18 oct 11:59 __init__.pyc
-r--r--r--  1 seb  seb  2638  7 oct  2009 anonymous_download.py
-r--r--r--  1 seb  seb  3187 18 oct 11:59 anonymous_download.pyc
-r--r--r--  1 seb  seb  1629  7 oct  2009 check_links.py
-r--r--r--  1 seb  seb  1307 18 oct 11:59 check_links.pyc
-r--r--r--  1 seb  seb  1150  7 oct  2009 favicon_rapidshare.ico
-r--r--r--  1 seb  seb  1540  7 oct  2009 premium_cookie.py
-r--r--r--  1 seb  seb  1179 18 oct 11:59 premium_cookie.pyc
-r--r--r--  1 seb  seb  2779  7 oct  2009 premium_download.py
-r--r--r--  1 seb  seb  3334 18 oct 11:59 premium_download.pyc
-r--r--r--  1 seb  seb   361 18 oct 11:59 service.conf

>How-To-Repeat:
Install tucan, start it, and try to complete the wizard.
>Fix:
A solution is to add write permission to /usr/local/share/tucan/default_plugins/**/service.conf
Then, you can remove your ~/.tucan and restart the wizard.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010190712.o9J7CqcD044449>