983 reputation
31732
bio website xeoncross.com
location
age
visits member for 5 years
seen 16 hours ago
Another PHP programmer responsible for things like the MicroMVC PHP framework.

You may notice that some of my questions run very deep into the heart of certain issues because I strive for the highest optimization that is possible in my apps.

Mar
24
comment How to setup linux permissions for the WWW folder?
Ok, well I know I use PHP to create lots of text, tar, log, and image files (plus folders) so I was just assuming that everything should be writable. However, perhaps your right and PHP should be able to only CHANGE FILES IT CREATES which would be harmless since 99% of all PHP apps never makes script files. The other choice seems to be to only allow certain directories PHP write access (/uploads/) which doesn't make since because then PHP could still be used to create something bad there. Any ideas?
Mar
24
revised How to setup linux permissions for the WWW folder?
edited title
Mar
24
comment www-data ownership makes the WordPress installation consume more memory
If www-data owns the folders/files then that means PHP can create new files which means that wordpress can waste time and memory working with the filesystem.
Mar
24
comment How to setup linux permissions for the WWW folder?
apparently git runs as the user running it - just like any other tool.
Mar
24
revised How to setup linux permissions for the WWW folder?
large marked update; added 25 characters in body; edited title
Mar
24
answered How to setup linux permissions for the WWW folder?
Mar
23
revised How to setup linux permissions for the WWW folder?
update shown
Mar
22
comment How to setup linux permissions for the WWW folder?
How does git/svn or PHP create new folders then?
Mar
22
comment How to setup linux permissions for the WWW folder?
Thanks for the answer, I have updated the question with more information.
Mar
22
revised How to setup linux permissions for the WWW folder?
added 134 characters in body
Mar
22
revised How to setup linux permissions for the WWW folder?
update shown; added 65 characters in body
Mar
22
accepted All users of a group can edit each others files (Linux)
Mar
22
comment All users of a group can edit each others files (Linux)
oops, I already ran it. xD
Mar
22
revised How to setup linux permissions for the WWW folder?
update shown
Mar
22
asked How to setup linux permissions for the WWW folder?
Mar
22
comment All users of a group can edit each others files (Linux)
How do I set the sticky bit?
Mar
21
comment All users of a group can edit each others files (Linux)
So would the command be chmod -R 2775 /var/www?
Mar
21
accepted How come some linux users don't have home directories?
Mar
21
revised All users of a group can edit each others files (Linux)
update
Mar
21
comment How come some linux users don't have home directories?
Ok, so then Ubuntu/Debian has two types of users - system and normal? Where can I find a listing of all system users then?