Changing File Permission
Feb 25, 2009
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 9 Replies
ADVERTISEMENT
Apr 2, 2007
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 2 Replies
View Related
Dec 7, 2007
What is the command to change the permissions for all files contained within the same directory? I have about 100k files
located here:
/mysite.com/files/
I need to chmod all files located within the /files/ directory to 666.
What is the command for this via ssh?
View 8 Replies
View Related
Jan 6, 2008
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 5 Replies
View Related
Jul 21, 2008
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 2 Replies
View Related
Sep 14, 2013
Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?
View 1 Replies
View Related
May 27, 2015
I lately decide to change my server provided and I decided to go for pre-installed Plesk12 service , plesk installed with os installation and in the beginning was looking ok , till I faced two problems .
The first problem I found is on Backup manager , I set a daily backup with maximum of 5 but every day I receive the error :The backup backup_website.com_info_1505272137.xml and backup_website.com_info_1505262137.xml was not created , I check the current backup task and the two task shows fails.(picture attached)
The second problem I found It may be related , is concerning the File permission , the user root and on group root are not able to change any file permission but the user pinco on group root is able to change it as well as the user Pinco on group psacln/psaserv , I updated the plesk12 to latest release to see if maybe was some changes but unfortunately nothing
Not migration for domains and was fresh install for os and plesk12
Plesk version:12.0.18 Update #48
OS: CentOS 6.2 (Final)
View 7 Replies
View Related
Mar 22, 2007
I am using mod_rewrite to create "pretty" urls but some of my files contain paths such as this:
<img src="images/blah.jpg"> Meaning if the user visits a page where the file does not physically exist then it won't work.
I want to know if it is possible to pick this up and rewrite the path. I.e.:
change: <img src="images/blah.jpg">
to: <img src="../images/blah.jpg">
or
<img src="../../images/blah.jpg">
As I don't want to create physical files with relative urls for every trunk of my url. For example:
www.mydomain.com/directory/directory/directory/
Would need 3 different files in three different directories to display properly.
View 0 Replies
View Related
Oct 27, 2014
I have a file that creates subscriptions , customers and domains. moreover, also installed wordpress to new domain. it makes it through the php file .
The problem I have is that when installing wordpress on plesk domain is installed in a subdirectory called wordpress in the root directory instead .
Is there any way of changing the php file that is installed directly to root ?
Ask this because from the plesk panel is done, there is an option through the file but can not.
View 2 Replies
View Related
Feb 10, 2015
I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...
View 2 Replies
View Related
May 26, 2008
Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.
I want to use the file like this:
website1.com/file.php
website2.com/file.php
View 2 Replies
View Related
Jun 20, 2007
How can I stop Permission 777 in the server So no one can set Permission 777 to any file in the server?
View 2 Replies
View Related
Nov 10, 2007
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 11 Replies
View Related
Mar 24, 2008
I have problem to change the /usr/bin/crontab permission to 4755 it still remain 0755 ...
View 5 Replies
View Related
Oct 29, 2009
i install joomla on my server but need 777 permission.
can anyone give me to advice for best resolution security for 777 permission?
View 6 Replies
View Related
Nov 19, 2008
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 10 Replies
View Related
Feb 15, 2008
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 8 Replies
View Related
Feb 24, 2008
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 1 Replies
View Related
Jul 19, 2008
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 3 Replies
View Related
Nov 11, 2008
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 11 Replies
View Related
Jul 19, 2007
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 4 Replies
View Related
Jul 3, 2007
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 www.domainabc.us 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 6 Replies
View Related
Mar 25, 2007
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?
Running:
CentOS
cPanel/WHM
View 5 Replies
View Related
Nov 15, 2007
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:
drwxr-xr-x 2 sitename sitename 4096 Oct 25 03:10 cgi-bindrwxr-xr-x 6 root root 4096 Nov 14 18:55 homedrwxr-xr-x 2 sitename sitename 4096 Oct 25 03:10 images
the folder is [home]
View 4 Replies
View Related
Jul 20, 2009
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 14 Replies
View Related
Jul 27, 2009
I have a VPS with Ubuntu 9.04. I've setup ISPConfig etc as per the Perfect Server Howto Forge pages.
However I'm getting a problem with the configuration of maildrop, I get
Code:
temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to change to home directory.
ls -lah /var/vmail
Code:
drwxr-xr-x 4 vmail vmail 4.0K Jul 27 04:19 .
drwxr-xr-x 15 root root 4.0K Jul 26 13:01 ..
-rw------- 1 vmail vmail 1.3K Jul 26 13:01 .mailfilter
drwxr-xr-x 5 vmail vmail 4.0K Jul 26 17:15 siricom.co.uk
-rw-rw---- 1 vmail vmail 4 Jul 27 04:19 ispconfig_mailsize
drwxr-xr-x 2 root root 4.0K Jul 26 13:01 mailfilters
grep vmail /etc/passwd
Code:
vmail:5000:5000::/home/vmail:/bin/sh
View 6 Replies
View Related
Jul 18, 2009
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 3 Replies
View Related
Jun 4, 2009
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 14 Replies
View Related
Feb 27, 2008
In my VPS:
I have given to one of my clients a reseller, sometimes, it shows an error, when he enters his Forum:
Forbidden
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
Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
2- I increase MaxSpareServers in httpd.conf.
View 5 Replies
View Related
Nov 17, 2008
cache/:
files/:
store/:
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 5 Replies
View Related
Jul 17, 2008
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 1 Replies
View Related