-1
votes
1answer
182 views

File Permission on /var/www/html [closed]

I changed the file permission. Now I am not able to access the website. nginx + php-fpm previously, chown -R user1:user1 /var/www/site.com I read in internet, and then i changed the file ...
1
vote
1answer
51 views

How To Block FTP Users From Changing File Permissions

I have been tasked with trying to reproduce an issue one of our developers is running into. On certain FTP servers, the FTP library he is using (Starksoft/Biko) returns a "530: Not Logged In" error. ...
-4
votes
1answer
59 views

What are the proper chown settings for images? [duplicate]

I am testing a piece of software that is working except for some SVG images that are not showing. When I preview them using Firebug in Firefox, it says "Failed to load the given URL," however, when I ...
1
vote
1answer
142 views

Git prime/hub website deployment: documentroot changes save fine but permission denied for subdirectories

Following the instructions in A web-focused Git workflow I set up a prime and hub repository on my web server and then cloned the hub to my machine at home. I started testing commits and pushes with ...
0
votes
1answer
138 views

Trying to include file from another account: permissions denied

I have a dedicated server running php with dso handler, I am including a global config.php from one account into all the other accounts. This works fine on apache when opening the sites via browser. ...
0
votes
1answer
198 views

chmod -R 777 /. - RHEL 5.5

A shell script testing went bad and it issued chmod -R 777 /. to the system, instead of chmod -R 777 ./ and as expected it wiped the critical meta data. We have turned off the system and it ...
1
vote
3answers
169 views

The secure linux server by dir permissions

I am using php on Linux / Apache server. I have Three type of directories like as |_ Writeale Directory |_ PHP Files |_ Image Files Writeable Directory would used only by PHP to writing some txt, ...
0
votes
2answers
2k views

Wordpress: chmod 600 wp-config.php (or 640) and get white screen of death. What do?

I'm working with Wordpress for the first time and, as per the security guidelines in this guide, I'm chmodding wp-config.php to 600 (user can read/write, no one else can do anything). However, this ...
1
vote
1answer
253 views

Ubuntu sftp default save permissions issue

I have a server running Ubuntu 8.04 LTS with sftp running on it. My problem is that when I access the server with sftp (using the username of one of my admin accounts, not 'root') and upload a file ...
1
vote
1answer
364 views

How to use set-user-ID bit on directories?

I want all files in directory /home/alex/foo to be owned by alex, no matter who creates them. I'm trying this technique, but it doesn't work (on CentOS 5, under root): $ cd /home/alex $ mkdir foo $ ...
0
votes
2answers
119 views

CMOD 755 is not possible

If CMOD 755 is not possible and 767 is not either, what is the next best permission? So far I have checked 775 and it works, but is it safe? It is an upload directory and the only people uploading to ...
1
vote
2answers
228 views

Should I set permissions to 777 for setup and config file?

I am writing a large PHP application (with setup) for the first time and am wondering about the security precautions I should take for permissions. setup.php uses uses fopen/fwrite to generate a ...
0
votes
2answers
327 views

Locked out by changing file permissions

I just locked my root account (and all other accounts if it matters) completely out of the RHEL 5.4 by changing permissions on every file to 400. Now I have "Permission denied" on any command that I ...