Support

Site Restoration

#12128 File and Folder Permission problems on restoration

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Sunday, 29 April 2012 03:44 CDT

user27992
One of my site has been restored to a server running Parallels Plesk control panel.


The restoration was successful except all the extracted files and directories are unable to modify/edit/delete/set permissions.


They have the user permission of 'apache' and group permission of 'apache' rather than the default permission 'user name' group permission of 'psacln' that parallels plesk generates for you when you ftp or create a new file.


Is there a way in the kickstart to get around this problem? Since Plesk has no functionality to correct this.. any help will be appreciated

Regards

nicholas
Akeeba Staff
Manager
The easiest way is to ask your host to change the ownership of your files and folders to the FTP user, then enable Joomla!'s FTP mode.

Alternatively, you can do it the hard way:
- Take a backup of your site and download it locally
- Delete all files and folders from your site. Most likely you can do it using Plesk's file manager, not FTP
- Upload the archive and Kickstart
- Run Kickstart and use its FTP mode to extract the archive <-- this is the important part and it's also documented :)
- Remember to enable Joomla!'s FTP mode during restoration
- Set the permissions on the tmp, logs, cache and administrator/cache directories to 0777
- Upload a .htaccess file to each of those directories with the following contents:
order deny, allow
deny from all

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!