0
votes
0answers
105 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 ...
3
votes
1answer
4k views

Changing permissions for folders and files in /var/www/?

I am quite new to ubuntu and I have been trying to install BuilderEngine a content management system to my ubuntu server 12.04 lts I have figured some things out but I am stuggling with permission for ...
0
votes
1answer
353 views

Setting up a user account for a web server

I'm pretty new to Ubuntu/Linux. I'm setting up a lighttpd webserver and I think I need to set up a webserver/daemon user account to get it going. The config file is asking for server.username and ...
0
votes
3answers
144 views

Apache could not access to copied folder: 403 Access Forbidden

I'm new to Ubuntu. I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www it is not accessible via URL. I have tried following commands: sudo cp -r Desktop/site ...
0
votes
1answer
889 views

Cannot create a new document in /var/www [duplicate]

I'm unable to create a new document in /var/www/ I followed this tutorial :- How to avoid using sudo when working in /var/www? and did as suggested, but still I'm unable to make a new document. Any ...
1
vote
2answers
2k views

How to make php webpage to access the file in /root directory?

I am using Linux 12.04,apache and php is installed on it.I want to access a text file in /root/ folder.I am really confused with the permissions.The php script i m using <?php $file = ...
1
vote
2answers
2k views

Permission denied while writing a file in var/www inspite of adding me to user group

I gave permissions to read and write files in /var/www to the working user(me) through the steps given in Whats the simplest way to edit and add files to “/var/www”?. It works fine when I try to ...
1
vote
0answers
139 views

How to create a shell account and restrict users to their home folder

I was wondering how in Ubuntu Server 13.04, how to limit a user to be able to only access their home folder and NOTHING else on the server. Thanks, Stephen
0
votes
1answer
210 views

How to prevent users from reading files but the webserver should still be able to read

I have a lighttpd test server on my testing machine with 2 users they all have there own folder with a public folder for the webserver in it, now I want to prevent that the other user can read the ...
0
votes
2answers
658 views

How to fix a permissions problem on www folder?

I have created a directory in my www folder using terminal and root user. Then, create some text files in that folder (with terminal and root user). Now, when I want to access these files and ...
0
votes
1answer
732 views

java exception: No such file or directory

I am trying to run a GATE application via jetty web application server in Ubuntu. I am getting java.io.IOException: error=2, No such file or directory because of a particular GATE plugin ...
4
votes
2answers
3k views

My user can't upload files to folders owned by www-data

I think I have screwed up my permissions in Ubuntu. I am using my server to run PHP. I recently ran across a problem where PHP could not create directories in the var/www-directory, so I searched ...
-2
votes
1answer
187 views

webserver folder cannot be accessed without using root [duplicate]

Possible Duplicate: How to avoid using sudo when working in /var/www? My webserver folder, called www, cannot be accessed without using root. Any ideas?
2
votes
2answers
1k views

Be able to create edit and move files to and from /var/www [duplicate]

Possible Duplicate: What is the best way to add files to a website on a LAMP Server? I have installed lamp on Ubuntu 12.04. I try to access /var/www but it doesn't allow me to do anything ...
1
vote
1answer
224 views

I need to grant permission to my export directory to write to webserver, but I don't know what that is

I am installing a rather complicated program that writes to a directory and this directory needs to be able to write to my webserver. My instructions say this: Grant php/export directory ...
6
votes
6answers
41k views

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old ...
1
vote
2answers
2k views

Javascript is not loading

Hey, I've got a problem with JavaScript under Ubuntu, that drives me crazy. I'm using Gedit for my web sites since I'm an Ubuntu user. When I start a new website I create (usually with the gnome ...
3
votes
2answers
1k views

Ubuntu chroot “No such file or directory”

I have a web application where I create some folders on my server and put executables there. Then I try to run them with chroot but I get a message that access is denied there. I tried chmod -R 777 ...
4
votes
2answers
4k views

How to assign correct permissions to both webserver and svn users?

I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and ...
65
votes
6answers
96k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
3
votes
1answer
1k views

How to give directory and file permissions to a web server

I'm a Linux newbie. I'm doing a project that uses the gosmore routing engine. In one of my email to the developer about a certain problem, he replied to me that to solve the problem: "I think you ...