0
votes
0answers
13 views

How to resolve this fault when I try to start apache server?

I typed in following command to start the apache2 server : /etc/init.d/apache2 start then it gave me following error : * Starting web server apache2 (13)Permission denied: AH00072: ...
0
votes
0answers
15 views

apache cannot upload images into a proper permission set directory

I have an issue with uploading images. Website is on a Ubuntu vps, and I have installed apache, set up the domain, virtual host, and everything else work fine. But there's an option in the website to ...
0
votes
2answers
30 views

How to configure apache2 with symbolic links in /var/www/?

I want to setup a local web server on my Ubuntu (14.04). So I installed all software to get a LAMP server. The problem is that I do something wrong with creating my virtualhosts. I wanted to create ...
1
vote
0answers
14 views

locate [file] but go to directory, it's not there [duplicate]

I am root. I have PHP webpage on Apache 2 server putting .stl files in /var/www/upload using move_uploaded_file( 'from', 'to' ) When I use locate, I see the file is in /var/www/upload When I cd to ...
0
votes
2answers
209 views

Forbidden You don't have permission to access /phpmyadmin on this server

I installed php, mysql, phpmyadmin on my Ubuntu 12.04 localhost in the following steps: I try these steps: sudo apt-get install apache2 sudo /etc/init.d/apache2 restart sudo apt-get install php5 ...
0
votes
1answer
48 views

Giving ownership of the directory to the apache user?

I have installed wordpress on LAMP. As I am new one to Ubuntu. So, I Used this online tutorial How to install wordpress on ubuntu manually But when I am trying to give ownership of the directory to ...
1
vote
1answer
104 views

PHP script unable to create directory with 777 permissions

I have a script that automatically creates a directory if it doesn't exist and sets permissions to 777. The problem is, it's only setting permissions to 755: if ...
0
votes
1answer
83 views

403 Forbidden when changing Apache2 document root [closed]

I'm running Mint 17, and I changed my /etc/apache2/sites-available/000-default.conf file to the following: <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname ...
0
votes
0answers
9 views

Apache and vsftpd [duplicate]

simple question. var/www -> owned by user group www-data whenever I upload through FTP something on www I have to manualy run chmod 755 /var/www. Or it wont show up on my browser... I am now ...
0
votes
0answers
252 views

apache2: Could not open configuration file /etc/apache2/apache2.conf: Permission denied

I recently upgraded Ubuntu to the latest LTS edition on my work laptop, which I use as a LAMP development platform. The upgrade was from 12.4 to 14.4. Now I'm having trouble getting apache up and ...
0
votes
0answers
77 views

Blank Cacti Graphs

I'm running Ubuntu 14.04 LTS and I'm having an issue with Cacti 0.8.8b not displaying any data in graphs. The graphs are being created and I see files in /var/lib/cacti/rra. My crontab entry for root ...
0
votes
0answers
27 views

PHP script might be prevented form uploading file because of permissions

I recently had issues with a PHP upload script that refused to move uploaded files to a permanent directory. After numerous alterations and debugging attempts to the script (that previously worked on ...
0
votes
0answers
16 views

How to grant apache2 access for PHP script to modify /media/user/[SD card on phone]?

My achievement is that the script can access /media/user folder, but for some reason it can not sneak into the mounted SD card located on the phone. Of course this can be accessed from nautilus. I ...
0
votes
1answer
308 views

Upgraded to Ubuntu 14.04.1, can't access some websites (403 forbidden)

I upgraded my server to 14.04.1. After I restarted Apache, I discovered that some of my sites are not accessible (403 forbidden). The common denominator is that they are my Drupal sites and a group of ...
1
vote
2answers
53 views

Unable to write in folder in which my user has write access

Before I say anything, I know how permission for groups and users works. My setup is: a. my user is monkey and is in the group www-data groups monkey monkey : monkey adm cdrom sudo dip ...
0
votes
1answer
51 views

Why is everything write protected?

I have searched and searched and can't find anything specific to my problem. I am a Mac user, new to Ubuntu. I wiped my HP notebook and installed 32-bit (no choice) Ubuntu. Then I installed the ...
0
votes
0answers
22 views

I changed my apache2 directory, and now am having directory and/or permission issues

I set up apache on a Ubuntu 14 machine to host my website, got it up and running. Tested it out and it worked great. After that however I used the httpd.conf file to change the directory of my ...
2
votes
0answers
983 views

Allow chown command to www-data user

Is there a way to allow chown command to be run by www-data but limiting it in a way that the files owner can be changed only to uids greator than that of www-data user? I already researched a lot ...
0
votes
0answers
16 views

Permissions problems with Apache2 Alias

I'm trying to set up a local installation of a scientific pipeline (The trans protoemic pipeline). This pipeline use a number of cgi scripts and I'm trying to match it's requirements by setting up a ...
0
votes
2answers
842 views

Access forbidden 403 error in xampp

I am very new to xampp. I have made a fresh xampp install with the following commands. sudo su cd /tmp wget bit.ly/1cmyrUo -O xampp-32bit.run chmod 777 ./xampp-32bit.run sudo ./xampp-32bit.run Then ...
1
vote
1answer
1k views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
1
vote
3answers
78 views

Not understanding /var/www permissions [duplicate]

I know similar questions have been asked, but I couldn't find a solution because I'm not looking for a command to give new rights to the directory, I would like to understand it. I'm very new to ...
0
votes
1answer
23 views

Permissions error trying to create local web dev environment in home folder [duplicate]

Hi I've been trying to create a local web dev environment in my home folder. My local LAMP is running fine, and I tried this tutorial to develop without the hassle of the permissions in var/www ...
0
votes
1answer
149 views

Getting SFTP to update Wordpress

It took me a while to figure out how to install SFTP, and set up a user, sftpwp, that was restricted to it's own home directory and to using only those commands that are internal to SFTP. I created ...
1
vote
1answer
153 views

localhost/cgi-bin is not working

I an novice to run ubantu. In Ubuntu 12.10, localhost/cgi-bin/hello.py is working but localhost/cgi-bin is not working and it shows Forbidden error, you dont have permission to access /cgi-bin/ on ...
1
vote
1answer
133 views

File Permission In www/html Directory For Security

How can I give permission to directories and files in www/html for security. This files have an .js , .php , .sh extensions.They execute in www/html by apache's user(mine is www-data). When I give ...
0
votes
0answers
206 views

Sending Email With PHP (SMTP) By Apache's User

I could send e-mail with php in ubuntu 12.04. The apache user (in ubuntu 12.04) didn' t make problem. But I can't send e-mail when I pass the ubuntu 14.04. The apache user(ın ubuntu 14.04) make ...
1
vote
2answers
668 views

Permission Denied When Create New File

I could create file with php fopen(..) when I used the ubuntu 12.04. But now I can't create file with php, because I pass ubuntu 14.04. I can open existing file to read or to write. But I can't ...
0
votes
1answer
373 views

permissions for SugarCRM in /var/www/html/

I downloaded SugarCRM community edition, unzipped and moved it, with sudo, to /var/www/html/ but keep getting errors when navigating to http://dur.bounceme.net/sugar or localhost/sugar (I renamed the ...
0
votes
1answer
793 views

Unable to change permissions for apache file 000-default.conf

I am trying to change the permissions for the apache file /etc/apache2/sites-enabled/000-default.conf when I input the command sudo chmod 755 000-default.conf the file still stays to ...
0
votes
2answers
103 views

Using Apache2 to set up a basic webpage

I am having a problem with a test page I set up for my website. The config file (index.html) looks like this <html> <head> <title>Welcome to website.net!</title> </head> ...
0
votes
0answers
104 views

Ubuntu 14.04 server; permissions being reset

For some reason about once or twice everyday the permissions of my files in /var/www are changed from 755 to something else that forbids public viewing from the web broswer. I have no idea why web ...
0
votes
0answers
30 views

Apache HTTP on UbuntuServer 13.10. No permissions to enter site from another computer

I've installed Apache, PHP5, MySQL and phpmyadmin on my 13.10 Server. Created folder /public_html and a file index.php in there like tutorial I read said. I gave chmods for these (folder and .php ...
0
votes
0answers
122 views

Changing root directory in apache2 is giving 403 error

I have installed Apache/2.4.7 (Ubuntu) in my ubuntu(14.04). I have changed two configuration files to change the default DocumentRoot of apache which is /var/www to /home/name/www. The files I have ...
2
votes
1answer
300 views

What are the best practices when setting files and folder permissions as a php developer under ubuntu?

I have created and set the permissions to some files and folders under /var/www/mywebsite. For files 644 and for folders 755. I am the owner of those files and folders, since I created them ...
0
votes
1answer
79 views

What changed in apache2 from saucy to trusty for projects in /var/www [duplicate]

I have some web roots in directories x,y,z, etc. in /var/www/, some of them (not /var/www/) are mounted with options rw,bind,uid=301,gid=301 (301 is uid of user www-data and gid of group www-data). ...
0
votes
0answers
40 views

Apache: access denied via http page(local/remote)

Does not work for me. This worked in prior version but doesn't work now? Getting access denied. Think issue is w/apache2 changes not OS. Cannot find anything that defines DocumentRoot yet it is ...
0
votes
2answers
415 views

Permissions of www-data on an addtional drive on Ubuntu 14.04

I'm trying to give rwx permissions to www-data in /media/bblab/Database/data to install OwnCloud. bblab is my user name and Database is my disk label. The step I mount the drive is: login as bblab ...
1
vote
1answer
6k views

Apache: access denied because search permissions are missing

I know this question is asked a lot, but the solutions I saw didn't work for me. I only have one virtual host enabled, and I'm trying to enable access to a folder that's not under the document roots ...
0
votes
1answer
850 views

LAMP 403 Forbidden

I have installed LAMP and webmin to Ubuntu. Using webmin I have created Virtual Host: IP - 192.168.0.104, Document Root - /home/inferusvv/www (by the way it doesn't matter, I create it using webmin or ...
0
votes
0answers
197 views

Mount and bind directory to access it with Apache 2.2.20 on Ubuntu 11.10

I'm new un the world of GNU/Linux and I have a problem which I think is caused by the permissions which are not correct. I'm running Ubuntu 11.10 with chroot running under Android 4.4.2 (I don't know ...
0
votes
1answer
60 views

Running Apache as FTP users

I have an Ubuntu server. Apache, MySQL and VsFTPd are running on it and it hosts more than one web sites. Every web site owner has an FTP user to upload files. However, Apache is running as www-data, ...
0
votes
0answers
22 views

Ownership in LAMP [duplicate]

I am relatively new to managing my own server but I am very eager to learn and right now I am able to install my own LAMP stack on an Ubuntu server 12.04 x64. I am using WordPress as for my blog, now ...
0
votes
0answers
26 views

Projects in /var/www folder are not accessible? [duplicate]

I am using Ubuntu 13.10 and come from Ubuntu 13.04. First check locahost, It's work fine. PhpMyAdmin is also work fine. I look some related problem here. But some similarities with this answer and ...
0
votes
3answers
2k views

Prestashop “Recursive write permissions” error

Trying to install prestashop locally (LAMP), the following error list prevents installation from moving forward. Permissions on files and folders Recursive write permissions for www-data user on ...
0
votes
2answers
29 views

OEM Server www directory permissions

I am building a simple LAMP that records factory automation data and serves that info locally to tablets and PC's via wifi. I have it set to boot-up automatically when power is applied and log-in ...
-1
votes
1answer
83 views

LAMP 403 Forbidden after 13.10 upgrade

After upgrading to Ubuntu 13.10 from 13.04, my localhost started throwing 403 errors. The default DocumentRoot and Directories are both equal to one another, and the permissions on the default folder ...
0
votes
1answer
27 views

What owner and mod should I give to /var/www [duplicate]

I would like to be able to edit the source code of my website from my editor and also allow the website to load in the browser. With sudo chown -R 'www-data':'www-data'the code is not editable but ...
0
votes
1answer
72 views

Using FTP to edit a file removes Apache permissions

If I edit a file using FTP with vsftpd on ubuntu 12.04 LTS... It removes the permissions that allow Apache to access the file... Currently If I upload a file with FTP, if it is a .php file it will ...
1
vote
1answer
2k views

Apache AH00035 error: is it possible to place site directory on a mounted media without losing security?

I tried to put site files on an encrypted disk that's mounted to /media and got (13)Permission denied: AH00035: access to / denied (filesystem path '/media/username/partition') because search ...