[Bug 614195] Re: Apache2 UserDir defaults to User www-data

2010-08-24 Thread Lox
I faced the problem with wordpress installation in userdir. As the user
as no permissions on that dir, PHP scripts can't write files to that
dir. For example Worpdress can't create its configuration file on
install, or install extensions.

This is bad

My solution is  to add 'my_user' to www-data group and to:

# sudo chmod -R 770 public html
# sudo chown -R my_user:www-data public html

This has to be done anytime 'my_user' adds or edits a php file in
public_html. This is tedious and should be fixed as soon as possible.

** Changed in: apache2 (Ubuntu)
   Status: Incomplete = Confirmed

-- 
Apache2 UserDir defaults to User www-data
https://bugs.launchpad.net/bugs/614195
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 614195] Re: Apache2 UserDir defaults to User www-data

2010-08-24 Thread Adam Conrad
Giving the web server (under www-data or any other user) complete write
access to Wordpress is not a good idea, regardless.  The installation
docs even go in depth to tell you how to temporarily make the config
file writeable (say, chmod 666 config.php) so you can run the config
script, then tell you to undo that afterward.

Why do you think having write access to your scripts is a reasonable and
correct setup that we should be shipping out of the box?

(Yes, sometimes you want an upload directory, tmp-style, for certain
CMSes, again, you can chmod just those directories, no need to have your
entire web root writable by a web server)

-- 
Apache2 UserDir defaults to User www-data
https://bugs.launchpad.net/bugs/614195
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 614195] Re: Apache2 UserDir defaults to User www-data

2010-08-09 Thread Matthew East
** Package changed: ubuntu-docs (Ubuntu) = apache2 (Ubuntu)

-- 
Apache2 UserDir defaults to User www-data
https://bugs.launchpad.net/bugs/614195
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 614195] Re: Apache2 UserDir defaults to User www-data

2010-08-09 Thread Dave Walker
Hi Xeno,

Please can you clarify why this is an issue; is it presenting as a
problem when using dynamic content, such as PHP?

Thanks.

** Changed in: apache2 (Ubuntu)
   Status: New = Incomplete

-- 
Apache2 UserDir defaults to User www-data
https://bugs.launchpad.net/bugs/614195
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 614195] Re: Apache2 UserDir defaults to User www-data

2010-08-09 Thread Adam Conrad
UserDir is meant specifically to allow read access to ~/public_html,
which it does just fine in the Debian/Ubuntu setup.  Perhaps you're
confusing it with suEXEC?  I would consider it pretty non-intuitive to
blindly enable suEXEC (a potentially large security risk, if people
don't understand it) just because people want to serve content from
public_html.

-- 
Apache2 UserDir defaults to User www-data
https://bugs.launchpad.net/bugs/614195
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs