0
votes
0answers
10 views

Giving proper permissions to Apache through group

I'm running Apache 2.4.7 on Ubuntu 12.04. I've been having trouble getting Apache to consistently have write-access to sites I'm working on. In Wordpress, specifically, Apache may be used to download ...
1
vote
1answer
94 views

(Mavericks-Apache) / You don't have permission to access / on this server

I am trying to get Apache running on my Macbook for development purposes. When I started it for the first time, I got the "It works." page and all was well but since I've tried adding a virtual host ...
0
votes
1answer
43 views

how to fix permission behavior of www folder

I'm working in the www directory of apache. I need to do this because other people in my company need to see my work constantly - whether to access updated versions of things I'm working on (mostly ...
1
vote
1answer
30 views

Can Apache be configured to serve only world-readable files?

I'm running an experimental just-for-fun Apache web server. Part of the idea behind this server is that it should be unusually open to the public; for example, the root filesystem should be open for ...
0
votes
0answers
18 views

How to create a selinux context that merges two existing contexts?

I want to have a git repository available to both: the smart http transport and thus writable by apache - this is handled by the httpd_sys_rw_content_t context. the gitweb interface - this is ...
2
votes
1answer
40 views

Debian permissions for apache server

I'm trying to configure my apache server on Debian 7. I have the following configuration: Every linux user has a folder in the /home directory. In their user directory, they have a www dirctory. So, ...
0
votes
0answers
33 views

Setting Workspace with Aptana as /var/www?

I am using my system as the root user, which is not recommended however I am using sux to run applications as a notroot user. When I run Aptana Studio as notroot and set the workspace as /var/www it ...
0
votes
1answer
121 views

object not found in lampp ubuntu 13.10

am a newbie linux user.i have installed xampp 1.8.3-2(lampp)on ubuntu13.10 and configured it. i paste my wwwfolder to ubuntu 13.10 in/opt/lampp/htdocs. now the owner of www folder is root with ...
1
vote
2answers
311 views

OSX, Failed to listen on 0.0.0.0:80 (reason: Permission denied)

I'm on OSX Mavericks. I installed PHP 5.5 from http://php-osx.liip.ch/. When I go to localhost in a browser I get a page that says, "It Works!" which is not a page I created so I am not sure where it ...
0
votes
1answer
35 views

Secure Apache PHP installation: Using the right user:group

i want to "perfectly" protect my apache PHP installation on a linux server. In the history, i had problems with script-virues / exploids, so it needs to be a "secure" solution. My current solution: ...
0
votes
0answers
33 views

WWW Permission Apache user group 775 command

I have multiple site on a linux server I want that for each site to be able to set 775 permission where only this site could read/write data to its folders For example i have create a site for ...
0
votes
1answer
118 views

How to chown directory for multiple users?

Specs: Running Centos 6 64 Bit I am trying to chown a directory for all users on the VPS, aswell as for apache. But for some reason I can only have either apache, or just the users. I tried doing ...
4
votes
2answers
1k views

Error starting Apache with PHP module on Windows: “Cannot load php5apache2_4.dll into server: Access is denied”

I'm having some difficulty installing Apache 2.4.7 with PHP 5.5.7 on Windows Vista Service Pack 2. When trying to start Apache, I'm getting the error: Syntax error on line 176 of C:/Program ...
0
votes
0answers
57 views

How to configure file/directory permissions with Ubuntu/Apache?

I'm fairly new to Linux/Ubuntu. I have just installed a Ubuntu 13.10 LAMP server as a server for developing themes for CMS systems, but I can't get the user rights correct. The server is working ...
1
vote
1answer
174 views

More secure way to configure Centos/Apache for Multiple Users

I have a public Linux server running CentOS, Apache/PHP/MySQL. This server currently hosts multiple WordPress Blogs and Websites I am developing. Currently, I have "userdir" enabled, and set up ...
4
votes
1answer
2k views

Debian - Apache - User - Which chown?

I'm using Debian Wheezy. I've installed apache, php, mysql, the works. It works properly but for permissions that I need to set. so I have my sites in /var/www/mysite, and I'm struggling between the ...
2
votes
1answer
612 views

Giving permissions to apache user

I've developed a web application that lets the users to upload images and transform them to later download them again transformed. I obviously had to give apache user permissions to the directory ...
0
votes
1answer
613 views

vsftpd on CentOS - permissions

I've searched a lot and I can't find a properly answer for my case. I think it has something to do with groups, but I can't discover a solution that fits me. So here's the deal: I have a home server ...
0
votes
1answer
713 views

Apache/php cannot access remote cifs/samba share

I am trying to understand what my problem might be here: I am using a web application built on LAMP that needs access to a samba share that I've successfully mounted using mount -t cifs ... In the ...
1
vote
0answers
97 views

Mac Permissions Nightmare - XAMPP

I am making a conscience effort to use the terminal more on Mac and when I thought I understood permissions and accessing specific files and services I am more lost than ever. I recently installed ...
0
votes
1answer
864 views

best practice for access permission to users for apache tomcat

I have a Linux box being shared by various developers. They want to deploy their war files in apache tomcat which in shared location (/opt/tomcat). Since they don't have sudo access, I have to change ...
1
vote
1answer
552 views

Setting up Apache with multiple FTP users and vsftpd

I'm trying to get my Apache setup with a single user 'ftpuser' both be able to share/access the /var/www/html directory, which contains various files/sub directories. However, when I log in via FTP ...
0
votes
3answers
104 views

How do I setup a hassle-free developer machine after installing Apache in Ubuntu?

I just installed a LAMP server in a fresh Ubuntu system. The main problem I have is that the webroot is at "/var/www", and my default username doesn't have access to write there. I could be sudo-ing ...
0
votes
0answers
146 views

Google Drive Sync Filesystem Permissions on OS X

When Google Drive syncs files from the server, it uses 600 rw------- for the permissions. This is a problem when you try to run a local web server – you get Permission denied errors and 403 Forbidden. ...
0
votes
0answers
314 views

OSX Lion + MAMP + Dropbox - Fixing 403 Errors for Folders Outside MAMP

I have been struggling for nearly two weeks now to get MAMP working on my OSX Lion MacBook Air. I want to set up a local webserver for development and testing, and I want my sites in my Dropbox folder ...
0
votes
0answers
46 views

Wordpress on Linux server - User permissionss issue

I am running CentOS 6.4 and I have installed Wordpress on it. (along with LAMP) Now the problem is, that I cannot make any write changes to any files in the wordpress editor: eg. header.php, ...
0
votes
3answers
169 views

How to give access to user for specifig directory?

I made symlink when logged in as www (apache user): ln -s /home/anotheruser/test /var/www/test Now I go to my mydomain.com/test and I get a 403 error. /home/anotheruser/ has permissions 764 ...
0
votes
1answer
3k views

Setting correct permissions for uploading files

I have a php script that uploads a file to a directory called "uploads". The only way I can get the upload to work is if I do: chmod 777 uploads I know this isn't correct but I don't know ...
1
vote
0answers
220 views

htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/files/domain.com/public_html/images/' is executable [closed]

Today i migrated my images from one server to another and faced a strange permission issue [Mon Mar 25 08:42:23.676315 2013] [core:crit] [pid 15182] (13)Permission denied: [client 24.14.2.22:48113] ...
1
vote
3answers
266 views

Can PHP write to a directory without 0777?

I'm making a website builder, and I have the file render.php, which needs to write to users’ directories. I don't want to give each of the users’ directories 0777, but I still need to be able to write ...
2
votes
1answer
62 views

Will it be a security issue if I set the owner of “/var/www” to group “www-data”

I'm a noob here. I would like to know whether I will have any issues if I change ownership of /var/www to www-data, and what is the significance of www-data?
0
votes
1answer
94 views

Allow access from internal files, but denying access externally

I am trying to figure out how to deny access of a font on a website from external access. This means the user should be denied if they point their browser to the url While still allowing the css ...
0
votes
1answer
238 views

Default chown for new files | ubuntu 12.10

My www files is located at ~/www, and I change the owners of the files to myuser:www-data. However, when I create new file by the user, it doesn't get the group (www-data) by his owner. How can I ...
1
vote
1answer
392 views

PHP: mkdir(): Permission denied

I've php script that should create two new folders in "albums" and "pl". in "albums" apache can create a new folder but not in "pl", even though they have the same permissions. I can't understand what ...
0
votes
0answers
109 views

apache cannot read java .class files

I have a cronjob running as root that compiles a java program and moves it into my document root where i have the ability to download it using php, trouble is apache wont even allow read access to the ...
1
vote
0answers
74 views

Apache won't start after creating symbolic link

I'm installing Apache for the first time and trying to display some webpages on localhost. Apache's default path for serving web pages is /var/www/html/ but I don't have permissions to write there. ...
0
votes
1answer
185 views

Scanning php uploads in tmp directory with clamdscan fails

I can't seem to get this thing to work, some permission problem maybe, but i can't even run clamdscan normally form console with root the result is always Permission denied. for example i create a ...
2
votes
2answers
1k views

Can't cd to directory of programs like apache or tomcat on ec2: permission denied

hi I have setup tomcat 7 through yum on an ec2 instance. I have access to the user ec2-user by default through aws from launching the ec2 instance. I am trying to simply look at my tomcat logs ...
1
vote
1answer
147 views

Cannot read directory

I am using CentOS 6.3 and I am trying to opendir and readdir using PHP. apache is in the group of the user and I am trying to read the /home/user/mnt which is mounted remotely using SSHFS. ...
0
votes
1answer
300 views

Why is group write permission ignored in Ubuntu?

I want my user to have full access to the local Apache root folder, and I also want the Apache user to have full access to the same folder. What I did was create a new group called DevGroup and I ...
1
vote
1answer
230 views

Apache 2 Permission for Download Data

I set up an Apache2 webserver on the raspberry Pi (Raspbian - Realy close to Debian), and I wanted to download a File from the website. In order to do that, I copied a video file (.avi) to the ...
0
votes
2answers
883 views

How to allow apache access to a file but prevent others from viewing it?

I have several folders with Magento installations. e.g. www/magento1 www/magento2 All of the files/folders inside of those are owned by root:magento1 and root:magento2 respectively. I have 3755 ...
2
votes
1answer
4k views

Dokuwiki on Raspbian “wheezy” (Raspberry Pi)

I've installed the dokuwiki via apt-get. The first call to http://localhost/dokuwiki give me "403 Forbidden" as response: Achtung! HTTP/1.1 403 Forbidden You don't have permission to access /dokuwiki ...
0
votes
1answer
672 views

Apache CGI lp: Permission Denied

I moved a Perl CGI script from an old RedHat Linux box to a more recent CentOS Linux box and certain system commands no longer work. for example system("ls -l filename"); works OK, but system("lp -d ...
2
votes
1answer
368 views

Set permissions to www user to run ImageMagick

I have installed ImageMagick on my OSX Lion. When running from the console everything works fine. But when I'm trying to run 'convert -version' from a php script : <? exec('convert -version', ...
2
votes
1answer
953 views

Cpanel + Apache + Wordpress user permissions

I am on Cpanel. I have root access. When I create a new domain, a new user is created. Let's call it example.com with the user name being example. This will create: /home/example/www/ For WP to ...
1
vote
1answer
1k views

Setting permissions on /var/www is not working correctly for subdirectories and files

I followed these instructions (in the accepted answer) for setting up permissions on my /var/www/ folder. I'm using the www-data group as it says to use. jdownes and testuer1 are both memebers of the ...
1
vote
1answer
2k views

Added httpd to group but webserver still cannot access files - CentOS

I want to allow web access to files without allowing other system users access to the files for the website. I have owner:group as bob:bob Then I did: usermod -a -G bob httpd To add http to the ...
2
votes
2answers
608 views

How do you limit user access to /home directory while still allowing a different user to access all /home/users

My question is a bit complex. Basically, I want to give users ssh/sftp access to the server to their /home/user directory. I want to limit their ability to view other /home/user directories. Simple ...
0
votes
1answer
702 views

put a user into a group that has write permissions in /srv/www/ on opensuse 12-1

I have to do some operations within my fresh installed open-suse-operating-system version 12.1 I need to put a user into a group that has write permissions in /srv/www/ why: my server resides ...