Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting

Advertisements: & have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for

Permission 777

How can I stop Permission 777 in the server So no one can set Permission 777 to any file in the server?

View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Folder With 777 Permission
i install joomla on my server but need 777 permission.

can anyone give me to advice for best resolution security for 777 permission?

View Replies!   View Related
Permission 777 For Bin/sh , Should I Change It
The permission of bin/sh in my Plesk + Linux system is 777 , is it necessary to change? If so , what is the potential danger and to what permission state it must be changed?

View Replies!   View Related
Can't CHMOD 777 Files, But I Can CHMOD 777 Folders
On one of my servers i can't CHMOD 777 Files, but i can CHMOD 777 Folders.

Files are chmod 777 but on scripts installation... It's Said Please Chmod Example.php to 777
Centos 5
Apache 2.2.3

View Replies!   View Related
How To Allow 777
i have dedicated server

and if i get any folder 777 on the browser it get

inernal erver error 500

so how i could to allow 777

to work normal

View Replies!   View Related
777 Permissions For Www
Let me start off with saying: I haven't had any suspicious activity, nor do I think I was compromised.

I logged in as root, and was simply clicking around my dedicated server and came across a few folders with permissions at 777. ALL are above /public_html

Irregardless, is this safe? I recall reading a bunch of topics on here, that /tmp needs to be hardened. Isn't this also above /public_html?

For one example:
/var/tmp is chmod to 077
..inside is a bunch of sess_ files

Is this folder open to hacking?

View Replies!   View Related
How Do You Avoid Using Chmod 777
I know you're not supposed to use 777 but it seems some scripts just simply won't work without it, what steps needs to be taken to avoid using 777?

as far as i understand we're only supposed to use 775 for folders and 644 for files correct?

View Replies!   View Related
What Is Bad If I Leave 777
Website script requires to put permission from 777 to 644 after all job will be done.
but as i need permanently changes in files, i wand just leave it 777.

Can i leave 777 ? and please if i do this is bad with 777 and how it damage website?

View Replies!   View Related
Avoiding The Dreaded 777
Just wondering what options I have so that I can finally be rid of the 777 folders and lower them to 755?

Problem, I run several scripts that I assumed require 777 permissions, such as forums and gallery scripts. How else would images/attachments be uploaded to the server?

I`m running a linux vps, however I`m relatively new to server security and admin stuff.

Reason I brought this up, quite a few of my 777 folders on various scripts had some unwelcome php and htaccess files added over the last few weeks. No doubt malicious! I only just discovered them this evening.

I keep hearing about PHP Suexec and other features, but I`m concerned using these migh kill the attachment features of a forum for example. What good is a gallery if we cannot upload anything.

I know there are ways around this, but I need something in laymans terms.

View Replies!   View Related
Chmod 777 Vs 755
I've just moved from a reseller account with ResellerZoom, so a VPS with SolarVPS.

When I was with RZ all my scripts could write to folder with the 755 permissions. On the vps I have to alter the folder I want the script to write to to be 777.

Which the is best and most secure?

I think I understand that if a folder is 777 then anyone on the server can write to that folder. So I assume some sort of thing that stops users being able to access folders outside of their own folders is needed? is that right?

View Replies!   View Related
How Do I Locate 777 Files
How do I locate a list of files or folder with 777 permissions?

View Replies!   View Related
User Nobody And 777 Directories
I have a couple of scripts on my server that require directories to be chmoded to 777.

This has let hackers upload code that is being used in phishing schemes to my server.

How can I prevent that? can I disable user nobody?

View Replies!   View Related
777 Walker Houston
777 Walker Houston - looking for 1/4 rack with 10 amps a/c power and fiber cross-connects to the concourse level

View Replies!   View Related
Force PHP Not To Run On 777 Folder
how to force that the PHP files won't run if the folder permission is 777

I saw this in

but I want to know how to do this

View Replies!   View Related
777 Permissions/osCommerce - Dedicated Box
I'm running a site on a dedicated box, with no other user accounts. In order to get some of the features for my osCommerce site to work, I have to have a few files/directories set to 777 permissions.

It's my understanding that anyone who gains user access to the server would then be able to write/edit those files and directories, yes? It does not, however, mean that average joe web surfer has rights on them, correct?

So, assuming I keep up to date on security patches, lock the server down as well as possible, and keep my account as the only one on the server, is there any major security issue with leaving those 777 permissions?

I'd hate to close them off, as it would kill some REALLY helpful features, but security is important.

View Replies!   View Related
/tmp Folder 777 ... Use As Sessions Folder... Secure
On my VPS I would like to set the /tmp folder to 777 and point to it with session.save_path.

The VPS will host a number of sites, but I will have sole control of them. ie. the account holders will not have access to cpanel.

If it makes any difference, the server is running phpSUexec.

What are the risks involved with this?

View Replies!   View Related
Crontab Permission
I have problem to change the /usr/bin/crontab permission to 4755 it still remain 0755 ...

View Replies!   View Related
Cpanel Permission
I have a problem with cpanel permision and joomla 1.5. In case, I install something likes templates from joomla backend, and then I try for modifying it from cpanel file manager, I got error that FileOp Failure on: "path to edit here" Permission denied

View Replies!   View Related
Permission To Access
I have a form on a page hosted by earthlink. It processes from another host, and for some reason i am now getting this error:

You don't have permission to access /sendeail.php on this server.

Apache/1.3.37 Ben-SSL/1.57 Server at xxx Port 80

View Replies!   View Related
Permission To Access
You don't have permission to access /home/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/1.3.37 Server at Port 80

Sometimes when i access my page it shows this error but it does not happen frequently.

I am using Cpanel 11 and PHP 4.4.7

View Replies!   View Related
EXIM Permission
When I login to my server via ssh I receive:

2007-03-25 09:48:28 1HVPKu-0007Ah-I9 Failed to create spool file /var/spool/exim/input/u/1HVPKu-0007Ah-I9-D: Permission denied

Any ideas do I need to chmod /var/spool/exim/input/u to 664?


View Replies!   View Related
Room Permission
i installed some wordpress program in my site by SSH root access ...

so when i install it the wordpress folder had 0644 permission!

and chmod to root permission who can just edit the files and folders ....

so now what the command to change the chmod permission to sitename?

PHP Code:


the folder is [home]

View Replies!   View Related
FTP Permission
I have UnZipped a File Via SSH.

Now, When i Upload anything via FTP them i get a 550 Permission Error.

Any idea what is the problem actually and how to resolve it?

View Replies!   View Related
How To Change The Permission All Directories
In my server permission got corrupted cpanel said to change the permission manually to all the domain how can change the permission of the all the domain using the script ...

root@Core2Quad [/home/a7ydc]# ls -al
total 108
drwx--x--x 12 root root 4096 Jul 18 09:53 ./
drwx--x--x 958 root root 24576 Jul 20 21:37 ../
lrwxrwxrwx 1 root root 31 Jul 17 16:03 access-logs -

> /usr/local/apache/domlogs/a7ydc/ ...

View Replies!   View Related
Changing File Permission
i've set all folders,sub folder and files under this folder to be 777 since it is a folder for my users to upload attachments~

however this is the problem. users all failed to upload because the permission of the new folder created by apache for the users to store their attachment are set to 755, which i wanted them to be 777. (those 777 folders were from old server.)

if u take a look at the pic attached , you know what i meant. does anyone have any idea of how i can change the permission for this whole foder to be 777 even with folder created by apache?

i tried chmod -r 777 attachment, but it says operation not permitted @@

View Replies!   View Related
SFTP - Permission Denied
I just got a barebone server. Installed apache2, php5, mysql,phpmyadmin.

I only have SSH access to the server. I wish to use CoreFTP to transfer some webpage files to /var/www folder. I can login the server using CoreFTP's SSH/SFTP and it displays all the files and directories, but I do not have the permission to write.

My question is, how do I give myself permission to write? Here is the id of my user:

uid=1000(charlie) gid=1000(charlie) groups=1000(charlie),4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),111(sambashare),112(admin)

View Replies!   View Related
Error Permission Denied
each time I try to change things on file [php.ini] using shell, I get this massage

[ Error writing /usr/local/lib/php.ini: Permission denied ]

how to change Permission for that file, and what Permissions it should be.

I have root access for the server

View Replies!   View Related
Forbidden /You Don't Have Permission To Access
In my VPS:

I have given to one of my clients a reseller, sometimes, it shows an error, when he enters his Forum:


You don't have permission to access /vb/showthread.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The weird thing is, when that error comes, will appear on all other forums in the same time in his reseller!

I have tried to use some solutions such as :

1- Create .htaccess file and add the following code
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off

2- I increase MaxSpareServers in httpd.conf.

View Replies!   View Related
How To Change Permission Of These Files



I am installing phpBB, it needs to modify those file in order to work. How can i find those files in my host directories and how to modify or change permission ?

View Replies!   View Related
Hosting Games, Without Permission
I was hoping this was the best place to post this...

I own a website for free online game and I really need an answer for this.

Is it illegal to take a game that people shared on newgrounds, or some other "Free

Online Games" website? I'm not making any money off the game, there is no affiliate, nothing. I'm just adding it to my website for more people to play.

It's like Promoting their game, and I don't take any credit for it whatsoever.

Is that illegal to do with out any permission?

View Replies!   View Related
755 Permission :: Is This Safe?
Most of my files are 755 as permission. Is this safe?

How about putting all files under 644 permission? What is the best permission so that all files are safe from intrusion?

View Replies!   View Related
Permission Denied (publickey)
I'm trying connect to the server via ssh and i get an error -
Permission denied (publickey).

Following information has been provided for me help to access the server, but it seems i'm not familiar how to use that info ....

View Replies!   View Related
Servint Vps Permission
I just move a site from resellerzoom to a servint vps..

I have been facing some strange problems..

the first problem was smarty..

Fatal error: Smarty error: unable to write to $cache_dir Be sure $cache_dir is writable by the web server user. Smarty.class.php on line 1095

i had to make he cache dir 777 inorder to fix the error..

it used to work with 755 before..

next up was the owner problem ..

the owner of the domain under whm was still pointing to the old resellerzoom accountname .. i changed it to root..

now i ran a chown command on root of the site .. still wordpress gives me error for image upload..

View Replies!   View Related
550 Permission Error
After using the mv in SSH to move my forums to another domain. When I try to edit anything in the forum folder using FTP I get 550 Permission Error.

View Replies!   View Related
Permission On Windows 2003
I noticed very strange file permission behaviour, which not always intherid child permission from parent. Detailed problem description is below.

I have "c:File" directory with IUSR permission.

If I run one .NET application(exe) from Administrator account and try to create new file with that application in c:File directory, the newly created file with that application do not has IUSR permission.

If I run notepad and save txt file into that directory, it has IUSR permission.

Can anyone explain what is going on? Why file created with first .NET aplication do not inherit permission from folder?

View Replies!   View Related
File Permission On FreeBSD
I have problem with a file permission on FreeBSD.

The permission of that file is 0000, so I tried to change that
permission using chmod command. However, I got the following error:

chmod: file.php: Operation not permitted

I know that I have to check for file attributes. In redhat I used to
check that using lsattr command. However, I couldn't find it anywhere in FreeBSD.

Anyone here aware of an equivalent command that check file attributes?

View Replies!   View Related
Permission Denied Error
I made a copy of my forum's root folder using SSH command: cp -r forum forum123

Then I tried to update the new (forum123) folder with the latest files from vBulletin.

And it gave me a permission denied error. For test purpose, I went to the original folder and uploaded one of the new files there and it worked flawlessly.

Why am I not able to upload files to the copied folder? I've been doing this since like for ever, this is the first time I've encountered such an error.

View Replies!   View Related
Correct Folder Permission?
what folder permissions should be set to so that:

php scripts can read/write/delete files and browsers can see them.

Would it be 744?

View Replies!   View Related
Folder Permission Errors
I have a folder called source on one of my websites, it's below the public html folder so it looks like so..


The problem is I can't create, delete, move, copy, and files or folders in the source folder.

I copied this folder from


I can't figure out why i don't have permission to do so.

The permissions of the folder are 755

I also can't change the permissions of it.

View Replies!   View Related
Permission Error Lighttpd
I was trying to install lighttpd on my apache cpanel server..

After i ran the command
chown -R lighttpd.lighttpd /home/user (my user dir)

i am getting 403 forbidden error...

I even tried
chown -R user.user on the folder but it is still giving the error..

View Replies!   View Related
Avenger Permission Denied
I installed Avenger on FreeBSD 6.2 as Anti-Spam and I'm not understand
some configuration.

1- Avenger as me to create a user 'avenger' in group 'wheel' for its program, but when starts asmtpd , it runs under user: root and group: wheel . What is the utility to create this user 'avenger' then?

2- When I run a Debug Mod, I obtain a permission denied error

myserver:/etc/mail># asmtpd --avenge
SMTP-test (6) <== 220 ESMTP
SMTP-test (6) ==> ehlo
SMTP-test (6) <==
SMTP-test (6) <== 250 PIPELINING
SMTP-test (6) ==> mail from:<>
SMTP-test (6) <== 250 ok
SMTP-test (6) ==> rcpt to:<>
asmtpd: loading /etc/avenger/domains
db_dump185: /etc/mail/virtusertable.db: Permission denied
/etc/mail/aliases.db: Permission denied
/etc/mail/aliases.db: bad alias file
SMTP-test (6) <== 250 ok
+unknown (a11) === EOF

accepted by SMTP server:
250 ok

Ok so the error was coming from my "Other group" can't read . I have changed permission to following:

chmod r+o /etc/mail/virtusertable.db

and I obtain this:

myserver:/etc/mail># asmtpd --avenge
SMTP-test (6) <== 220 ESMTP
SMTP-test (6) ==> ehlo
SMTP-test (6) <==
SMTP-test (6) <== 250 PIPELINING
SMTP-test (6) ==> mail from:<>
SMTP-test (6) <== 250 ok
SMTP-test (6) ==> rcpt to:<>
asmtpd: loading /etc/avenger/domains
+unknown (a11) ==> return 250 ok
SMTP-test (6) <== 250 ok
+unknown (a11) === EOF

accepted by SMTP server:
250 ok

It could be a potential security problem if I left "Other" to read virtusertable.db . So my question is: Is there another way to fix this error without changing permission for Other to read virtusertable.db?

View Replies!   View Related
Failed Permission In Wordpress
I get this error when attempting to upload I'm using 0.2.1 version of PlugInstaller too.

I install wordpress manually and uploaded via ftp so permissions/chmod is correct. I am using php 4.4.7 / mysql 4.1x

Warning: move_uploaded_file(/home/user/public_html/wp-content/plugins/ [function.move-uploaded-file]: failed to open stream: Permission denied in /home/user/public_html/wp-content/plugins/pluginstaller/install.php on line 14

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpqCgS7W' to '/home/user/public_html/wp-content/plugins/' in /home/user/public_html/wp-content/plugins/pluginstaller/install.php on line 14

An error has occured

A problem has occured while processing your upladed file!

drwxrwxrwt 18 root root 64K Oct 12 16:06 tmp/

View Replies!   View Related
Logwatch Installation Permission Denied
# cd /usr/src
# wget
# tar -xvzf logwatch-7.3.6.tar.gz
# cd logwatch*
# ./

-bash: ./ Permission denied

View Replies!   View Related
You Don't Have Permission To Access /phpmyadmin/ On This Server
Recently, i upgraded my WAMP from WampServer2.0f to WampServer2.0g.

I uninstalled WampServer2.0f and then only installed WampServer2.0g.

I can access [url] and i can see under my tools section that there is a link to phpMyadmin which points to [url]

I get the error: Forbidden - You don't have permission to access /phpmyadmin/ on this server whenever i try to access phpMyadmin.

Additional Info:

My WAMP icon is white.

I tried Restarting all services but nothing helped.

I have a folder called phpmyadmin3.1.3 which is located inside C:wampapps.

The version of MySQL on my localhost is 5.1.32 (How do i know this? I clicked on my WAMP icon, pointed to MySQL --> Version and it displayed a checked mark on 5.1.32).

Did some homework, and people say that there may be a problem with the phpmyadmin.conf file. It's located in my C:wampalias

Can that file be edited phpmyadmin.conf?

I havent tried uninstalling and reinstalling WAMP. I'll do that as a last resort (and i don't know if that will fix things).

View Replies!   View Related
Find All Directories With 0777 Permission
due to a major bug found in some software installed on our server I would like to scan for all directories set with 0777 permissions. Is there a bash script or command I can run to get a list or possibly even chmod the directories to something else?

View Replies!   View Related
Cpanel /home Permission Hardening
Since this got lost (google cache of thread discussion so far)
im reposting because i think it was an interesting discussion.

I'm setting up a cpanel server for the first time. I was wondering if i could harden the default cpanel permissions for the user folders in /home The idea is to prevent users viewing each others files. Please don't suggest the php open_basedir option as its not secure and doesn't work with cgi based file browsers.

Note I'm using suexec/suphp.

currently new cpanel users folders are created with
group and user ownership and the permissions 755

I was thinking if i changed this to 711 would this break anything?

Could i lock this down even more by changing the group ownership to "nobody" and thus have permissions 710.

View Replies!   View Related
Fopen Permission Denied On New Server
I'm migrating from shared hosting to a VPS. I have transferred my files right over, and permissions are all the same as they were on the old server.

The fopen scripts are giving me an error when trying to write to files.

failed to open stream: Permission denied

The permissions on the file are 644 and it can read from the file just fine. Giving the file world write permissions fixes the problem, but I don't want to do this for obvious reasons.

I think the reason this worked on the shared server had something to do with the apache user being defined differently but I'm honestly not sure. The php file executing the command is owned by the user that owns the document I'm trying to write to (in fact one user owns everything).

how I can fix this without giving world write permissions?

View Replies!   View Related
Permission To Link To Someone's Page
I was wondering: say I have a website where users discuss different articles and when a user wants to discuss a specific article, he/she will be able to link to that article and then say what they have to say.

Certainly, copying and pasting would violate the site's copyright but simply including a little link sounds like a legal alternative. Is it really? Or, technically that would still require me as the webmaster, or the user who posted it to request permission just for linking?

I know nobody would care because it only gives more traffic to the site but legally, would permission be needed?

View Replies!   View Related
Document Root And File Permission
I am running a LAMP server, working to get everything configured and as secure as I can make it. I have been trying to decide weather to change the document root to a different directory, or if it would be better/worse or more/less secure to chown and chmod the current directory.

Any input would be helpful, I just don't want to overlook some small detail as this is my first time handling a server on my own.

View Replies!   View Related
Best Permission For SMF Files And Folders
I'd like to know how to secure an SMF site. Is the default permission good enough?

View Replies!   View Related
How Do I Create A User With Limited Permission
I used to create a user by using /usr/sbin/sysinstall in freebsd, but how do i limit that user so he can't view important files (like: dhcpd.conf, rc.conf....) or can't do such as command pico, nano, vi ...etc?

All i want is that user can log in to my freebsd box and then he will ssh to other local servers, I just want my freebsd box is a bridge/gate for him to ssh to local servers which behind that freebsd box. Is it possible ?Thanks.

I know that i have to create a group with has only ssh permission but how do i do that?

View Replies!   View Related
Changing Permission For All Files Within Directory
What is the command to change the permissions for all files contained within the same directory? I have about 100k files

located here:

I need to chmod all files located within the /files/ directory to 666.

What is the command for this via ssh?

View Replies!   View Related
Root Permission For Ftp Account
I have created the account, and when I connect using FTP, I need to access to root directories such /usr /etc ........ How can I do that?

View Replies!   View Related
Changing Multiple File Permission
in my server there is an issue where a lot of users simply chmod their directories to 0777 and its not easy for me to modified them back or ask them to change it back.

so anyone knows how can i search server via ssh to grep folder with permission 0777 and then automatically chmod these folders to 0755 ?

i think its possible to complete the above task with 1 command but not sure how.

View Replies!   View Related
Copyright 2005-08, All rights reserved