Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 180796
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christophe PEREZ <chris@novazur.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 180796 depends on: Show dependency tree
Bug 180796 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-03 22:45 0000
After upgrading my squirrelmail, I can't loggin.
/var/local/squirrelmail/data/ doesn't exist.
I know I can create it and give it right permission, but I think this is an
ebuild issue, no ?

------- Comment #1 From Jeremy Huddleston (RETIRED) 2007-06-05 08:56:31 0000 -------
when you ran etc-update you merged the default config. cd to where you
installed squirrelmail with webapp-config (/var/www/localhost/squirrelmail if
you have USE=-vhosts) and go into the config dir and run conf.pl.

------- Comment #2 From Jakub Moc (RETIRED) 2007-06-05 09:31:04 0000 -------
Eh... If you really insist on doing this differently from upstream (yeah,
/var/local is kinda stupid, would likely choose something else), then you
should make the default config *usable*  - as you did in 1.5.1-r4, i.e., stick
something like this to the ebuild:

<snip>
sed -i "s:'/var/local/squirrelmail/data':SM_PATH . 'data/':" config/config.php
</snip>

Plus kindly note that moving the dir outside of documentroot was done on
purpose for security reasons -
http://www.squirrelmail.org/wiki/DataAndAttachmentsDirectories
so if you move it back, you should use .htaccess or whatever to limit access
there.

------- Comment #3 From Jeremy Huddleston (RETIRED) 2007-06-05 09:56:59 0000 -------
Uh... I have no control over where YOU install the web application.  No matter
what I set the default to, it doesn't matter.  YOU choose where the web root is
on YOUR system.  This information is not available at the time the ebuild
installs the files.  If you want this kind of feature, make a feature request
with the webapp-config maintainers.

------- Comment #4 From Jakub Moc (RETIRED) 2007-06-05 10:05:23 0000 -------
Eh... the config file takes relative paths, for starters. The default config is
broken for anyone, as said above, this already works correctly in 1.5.1.

Also, sure you know where it gets installed - see
http://www.gentoo.org/proj/en/webapps/webapp-eclass.xml

------- Comment #5 From Jeremy Huddleston (RETIRED) 2007-06-14 06:14:07 0000 -------
Ok, it defaults now to the relative path, but I still don't like that.  I'd
rather it be setup by a competent sysadmin than default like this...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug