Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Optimisation of Setting Up Permission#2851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 1 commit intosymfony:2.2fromph-il:2.2
Jul 28, 2013
Merged

Conversation

@ph-il
Copy link
Contributor

Replace www-data by the current user running apache using command line

Doc fix? yes
New docs? No
Applies to all
Fixed tickets#2850

Replace www-data by the current user running apache using command line
weaverryan added a commit that referenced this pull requestJul 28, 2013
Optimisation of Setting Up Permission
@weaverryanweaverryan merged commit0543134 intosymfony:2.2Jul 28, 2013
@weaverryan
Copy link
Member

Hey Philippe! Very nice to see you on here! I'm very happy to see this PR - it's something I knew we should have for awhile, but had never gotten to it. I think this will make life much easier for beginners. I made only very minor tweaks at sha:bafeaaf

Thanks!

@ph-il
Copy link
ContributorAuthor

Thanks,

Should have more when we find thing.

@choomz
Copy link
Contributor

Hi there,

I am not sure that this config will work for everyone. For exemple, I have actually agnome-user-share running.
Thoses processes are running under my current loggued user (throught apache).

But, my web server is running under www-data. So when you are doinghead -1, it returns my current user (because processes are listed first by grep), and not the wantedwww-data.

@xabbuh
Copy link
Member

@choomz what is your output ofps aux | grep -E '[a]pache|[h]ttpd' | grep -v root?

@choomz
Copy link
Contributor

As I told just above, I have two users that are using apache so the ouput is something like :

valentin  3402  0.0  0.0   4520   544 ?        Ss   Aug05   0:05 /usr/lib/apache2/mpm-worker/apache2 -f /usr/share/gnome-user-share/dav_user_2.2.conf -C Listen <port>www-data  4624  0.0  0.6  68228 23792 ?        S    Aug08   0:00 /usr/sbin/apache2 -k start

Note that it's not really an issue for me, just for new users which are in this case, the current user (valentin for me) is not the one we want, it should be www-data.

@xabbuh
Copy link
Member

I was just wondering if there is anything we could grep better for. Unfortunately, it doesn't seem so. At least no distribution-independent.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ph-il@weaverryan@choomz@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp