When i check my cpanel, my folder has change into 400 and file 600, how can i change all folder subfolder and all file on subfolder, u can try here baby :
1. Create file bash,
#vi change.sh
2. Paste this bash script
#Muhammad Hafidz Aghifary
#24-04-2011 - test test test
# Change Folder 755 and file 644 instant
# Status Weekend On Office
echo "insert user -hafidz script-"
read input
a="$input"
find /home/$a/public_html -type d -exec chmod 755 {} \;
find /home/$a/public_html -type f -exec chmod 644 {} \;
4. Save file , and give
# chmod +x change.sh
5. run The Script
# ./change.sh
Wow My files Change it All, THat How ItS Works
Your Hosting Tutorial & shell scripting admin
YOUR IP ADDRESS IS
Blog Archive
-
▼
2011
(54)
-
▼
April
(12)
- Install Mail Server On your VPS - centos base
- Reset Bandwith To Zero - CPanel
- Using Varnish
- How to get file From FTP on my Shell
- CPanel - Change All Folder Or File To 755 and 644 ...
- Email Problem On CPanel - How to solve on shell
- VPS SSH error PTY allocation request failed on cha...
- Worpress Problem - my post has gone
- How To Set Time Backup on Cpanel Root
- Exim Queue
- SSL Error Code
- How To Reset Google Apps Password
-
▼
April
(12)
1 comments:
These are some great tools that i definitely use for SEO work. This is a great list to use in the future .
cpanel vps
Post a Comment