Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96610

Summary: webapp-config changes permissions on /var/tmp etc.
Product: Gentoo Linux Reporter: MAL <mal>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: webapp-config

Description MAL 2005-06-20 07:12:11 UTC
Simply running webapp-config --list-installs on my server causes webapp-config 
to output the following (in addition to the installed webapps):

 * Checking permissions on web site and document root directories ..
 * Removing 'others write' bit from directory /var/tmp
 * Removing 'others write' bit from directory /tmp
 * Removing 'others write' bit from directory /tmp/.ICE-unix
 * Removing 'others write' bit from directory /tmp/.X11-unix
 * Removing 'others write' bit from directory /dev/shm


I assume something is up with my webapp-config config, so I'll attach it.

Each user's site is stored in /home/<user>/www , so VHOST_ROOT is set to:

/home/${G_HOSTNAME}

where $G_HOSTNAME is the username, and VHOST_HTDOCS_INSECURE/SECURE are set to:

www

There's certainly no mention of / in /etc/vhosts/webapp-config, so I have no 
idea what the script is doing checking /tmp etc.

I'm finding it really hard to get the webapp system to do what I want most of 
the time.  I only use it over manual webapp installs, so that I benefit from the 
ease of security updates via portage.  The main problem is that the webapp 
system is set in it's ways with regards to how permissions should be.

Reproducible: Always
Steps to Reproduce:
Comment 1 MAL 2005-06-20 07:13:29 UTC
Created attachment 61575 [details]
webapp-config

/etc/vhosts/webapp-config from the afflicted system.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-20 07:20:13 UTC
Which version? Cannot reproduce it here and this has been AFAIK fixed in 1.11
(which is stable now) - see Bug 92388.  
Comment 3 MAL 2005-06-20 07:33:08 UTC
Cheers, it's just prompting me for the update today.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-06-20 07:35:31 UTC
Reopen...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-06-20 07:36:30 UTC
... to close properly.

*** This bug has been marked as a duplicate of 92388 ***