Tagged Questions
0
votes
0answers
25 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
30 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
52 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
116 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
278 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 ...
3
votes
2answers
879 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
152 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
1answer
388 views
How do I allow a user to only access one directory and its content?
I am using Ubuntu Server 11.04, and I want to know how to make a user access /var/www/site1 only.
1
vote
1answer
163 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 ...
2
votes
5answers
14k 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
685 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
2k 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 ...
28
votes
7answers
40k 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
800 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 ...