To delete files or directories under the client folder in ISPConfig 3, follow the detailed steps below:-
1. Remove protection: -
Use the following command to remove the file attribute that provides protection:
chattr -i /var/www/clients/client6/web14/
2. Delete the folder: -
Execute the following command to delete the folder named "05-03-2020.zip":
sudo rm -rf 05-03-2020.zip
Please exercise caution when using the rm
command, as it permanently deletes files and directories.
3. Protect again: -
After deleting the desired files or directories, reapply protection to the folder using the following command:
chattr +i /var/www/clients/client6/web14/
This command sets the file attribute to make it immutable, providing protection against accidental deletion or modification.
By following these steps, you can effectively delete files or
directories under the client folder in ISPConfig 3 while ensuring
appropriate protection is in place.
No comments:
Post a Comment