Tagged Questions
-1
votes
1answer
39 views
I can't set 0777 as file permissions because owner/group is 48 48
I am trying to chmod a folder to 777 but I'm unable to it. It always reverts changes to
File Permissions: 341 (instead of 777)
Owner/Group: 48 48
Other folders run on Owner/Group 502 503 and I can ...
0
votes
1answer
89 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
154 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 ...
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
224 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
271 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
114 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
203 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
308 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 ...