0
votes
1answer
20 views

Make newly created or uploaded (via ftp) files belongs to a group by default

Each time you create a file or upload it via FTP, considering your user is "myuser", it's chwon would be "myuser" for user and "myuser" for group. So you have to manually execute chown command to ...
1
vote
0answers
37 views

Dropbox folder permissions changing to 700 and causing re-sync

I've just got myself a new Macbook Pro 13" running Mavericks, my first experience of OSX 10.9 having moved up from an older mac running 10.7. After setting up my local web development environment and ...
0
votes
1answer
27 views

How to give apache ownership rights when creating a new file? [Centos 6]

So, is it possible to make multiple users the owner of a file when created? I mean, I know you can do chown -R apache:permissions /var/www/ (48:500) but that is only temporary because even if I decide ...
0
votes
1answer
26 views

How can I make chown permissions be permanent to files even after running the chown command?

I am running CentOS 6. So I decided to take a more patient approach to building my server because I have had issues with it performing properly in the past. So now, I am very very close to fixing ...
1
vote
2answers
33 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
0
votes
0answers
19 views

What use is apache's `Require all denied` directive?

The docs state that this works similar to the old Deny from all. While I see how Require all granted works fine, without a new Order directive Require all denied is basically a placebo: Require all ...
0
votes
0answers
48 views

Trying to make my localhost wordpress installation accessible from the internet using Ngrok. Error 403

I have a wordpress installation of a website I'm developing on my mac (OSX 10.6). I can access it and make edits just fine through localhost/username/Sites/websitefolder/. However, I need to make it ...
0
votes
2answers
252 views

apache wont follow symlinks | 403 permission denied

im using Ubuntu 14.04, and got problem with apache configuration: i created a Symlink from /var/www/html torwards /home/me/myWebDirectory but localhost/myWebDirectory renders a 403-permission ...
1
vote
1answer
34 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
0
votes
0answers
35 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 ...
2
votes
1answer
1k 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
477 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
42 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
27 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
84 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
61 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
224 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 ...
2
votes
2answers
875 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
60 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
61 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
733 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
62 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
221 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 ...
5
votes
1answer
4k 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
905 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
743 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
1k 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
108 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
2k 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
681 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
119 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
166 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
3answers
190 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
5k 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
233 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
288 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
117 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
242 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
422 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
114 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
80 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
210 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
2k 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
155 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
327 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
247 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
949 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 ...