0

I would to import a restore of a web directories to /var/www/clients/client4/web18/web managed by ISPConfig.

I read ISPConfig put an attributes on this kind of directories.

/var/www/clients/client4/web18#lsattr -R *
--------------e---- log/error.log.8.gz
lsattr: Operation not supported While reading flags on log/access.log
--------------e---- log/error.log.7.gz
--------------e---- log/error.log.2.gz
--------------e---- log/error.log.5.gz
--------------e---- log/20190123-access.log
--------------e---- log/20190117-access.log.gz
lsattr: Operation not supported While reading flags on log/yesterday-access.log
--------------e---- log/error.log.10.gz
--------------e---- log/error.log.11.gz
--------------e---- log/error.log.6.gz
--------------e---- log/webalizer.conf
--------------e---- log/error.log.4.gz
--------------e---- log/error.log.3.gz
--------------e---- log/error.log.9.gz
--------------e---- log/error.log.1.gz
--------------e---- log/error.log
--------------e---- log/20190124-access.log
--------------e---- tmp/phpaiRLln
----i---------e---- web/stats

web/stats:
----i---------e---- web/stats/index.php

I tried these commands with root uid to rename the web directories

/var/www/clients/client4/web18# chattr -R -i ./web/
/var/www/clients/client4/web18# mv web old_wed
mv: cannot move 'web' to 'old_wed': Operation not permitted
/var/www/clients/client4/web18#

I checked with lsattr the immutable attribute has been carry out :

/var/www/clients/client4/web18# lsattr -R *
--------------e---- log/error.log.8.gz
lsattr: Operation not supported While reading flags on log/access.log
--------------e---- log/error.log.7.gz
--------------e---- log/error.log.2.gz
--------------e---- log/error.log.5.gz
--------------e---- log/20190123-access.log
--------------e---- log/20190117-access.log.gz
lsattr: Operation not supported While reading flags on log/yesterday-access.log
--------------e---- log/error.log.10.gz
--------------e---- log/error.log.11.gz
--------------e---- log/error.log.6.gz
--------------e---- log/webalizer.conf
--------------e---- log/error.log.4.gz
--------------e---- log/error.log.3.gz
--------------e---- log/error.log.9.gz
--------------e---- log/error.log.1.gz
--------------e---- log/error.log
--------------e---- log/20190124-access.log
--------------e---- tmp/phpaiRLln
--------------e---- web/stats

web/stats:
--------------e---- web/stats/index.php

The ACL has not been installed on this file sytems

How to rename or remove this kind of directory ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.