1
vote
3answers
50 views

Is this normal that www-data still needs to have read and execute permissions on htdocs when using PHP-FPM?

I have setup an Apache+PHP-FPM environment and I have set the following in the PHP-FPM pool file: [www] user = mary group = mary listen = 127.0.0.1:9000 pm = dynamic pm.max_children = 8 ...
2
votes
1answer
1k views

Permission forbidden on localhost with apache2

Here is what I am trying to do. I tried to add another folder to apache and I get the following error when trying to acces testing/index.html. The idea is that I would like to have for every ...
0
votes
1answer
29 views

Apache2 Ubuntu File Permissions

With a fresh Ubuntu LAMP stack, I'm wondering why Apache serves up a Forbidden: Permission Denied error for my site. Apache2 was setup with the default user/group www-data. It's document root is ...
0
votes
1answer
187 views

Ubuntu LAMP Permissions

I just installed Ubuntu Server 12.10 and I selected the LAMP, OpenSSH and mail server packages during the install. The only other thing I've done is install nmap via apt-get. I can SFTP to my server ...
1
vote
0answers
178 views

LAMP Setup, PHP's session_start permission denied

I'm trying to set up a development environment for a legacy system that runs CentOS 4.8, PHP 4.3.9, and MySQL 4.1.22. I'm matching OS and software versions to keep the development server as close to ...
4
votes
4answers
1k views

Linux Web Server Permissions - Best Practices

On a privately owned server with one website, is there any reason the files/directories within /var/www can't be group owned by www-data? My understanding is that security risks with www-data having ...
0
votes
2answers
518 views

Running php as fastcgi vs Apache mod with dir permissions of 777

Hi I'm a web developer by trade and not a server engineer please bear with me! I have just got a new Ubuntu LAMP VPS server, which I am trying to configure. I understand that running php as ...
3
votes
1answer
846 views

Jail User to /var/www/username Directory via SSH

I have multiple folders in /var/www for different websites -- Apache uses name-based Virtual Hosts (Ubuntu Server). Suppose I want to allow someone to access their /var/www/user directory, but not cd ...
0
votes
1answer
59 views

File permission security for webapps

I have a typically configured LAMP server with various web apps running on it. A few of the web apps require user supplied image upload functionality (as well as a couple WP blogs that need to upload ...
0
votes
1answer
211 views

Apache2 + public_html Permissions

I have a fresh installation of Ubuntu 10.10 Server w/ LAMP. I've created a new user account and added a public_html folder in their home directory. I installed and used Webmin to create a new ...
0
votes
1answer
250 views

SugarCRM CE Won't Install on Ubuntu 10.10

I have a fresh copy of Ubuntu 10.10 server with a working LAMP installation. I downloaded SugarCRM and browsed to its directory to open the installer (via Firefox). The installer appears fine, I ...
0
votes
1answer
120 views

Permissions help on LAMP setup

I have a slight problem with a CMS set up on a LAMP setup. The CMS has a file manager which was working fine, with ownership of folders and files in the the file manager set up as miller.psacln, with ...
1
vote
2answers
145 views

LAMP server image permissions

This is probably a simple question, we have an Ubuntu (10.04) LAMP server running a website created with iWeb. Images uploaded by iWeb are viewable, but images uploaded via ftp to the site with ...
0
votes
1answer
1k views

Ubuntu WordPress Setup: You Do Not Have Permissions Necessary to View the Contents of wp_content

I just installed WordPress on Ubuntu for the first time according to these instructions: https://help.ubuntu.com/community/WordPress Everything is working great... Except, When I try to add my ...
6
votes
1answer
9k views

What user should own /var/www on Ubuntu 9.04 Server?

I've got LAMP on Ubuntu 9.04 Server and the default installation has root:root owning the /var/www folder. I discovered this when another service, Hudson, could not write to that directory. I want ...