1
vote
1answer
319 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
89 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
95 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
450 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
1k 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
1k 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
124 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
0answers
194 views

How to add folder creation permission to a user 'www-data'

I want to create folders like /var/www/myproject/image/DYNAMIC_FOLDER using server side scripting language PHP, so I edited /etc/sudoers and added the following line: www-data ALL=(ALL) NOPASSWD : ...
0
votes
0answers
138 views

Web root permissions: Allow a group to edit and forbid others to see the files

I am setting up Apache hosting multiple sub-domains with different developers. There is a folder for each sub-domain, and I want to have a group that is able to write and edit these files (developer ...
0
votes
1answer
165 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
480 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
567 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
182 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?
1
vote
1answer
206 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 ...
5
votes
6answers
31k 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 ...
0
votes
1answer
1k 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 ...
3
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 ...
53
votes
7answers
75k 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 ...