[SOLVED] Permission dr-xr-x--- on /var/www/virtual/domain_disabled_pages

  • Hi,
    I can access and use IMSCP normally but I have a problem with rsync because of permission on /var/www/virtual/domain_disabled_pages. The permission is set in this way:
    dr-xr-x--- 3 root www-data 4096 set 29 03:23 domain_disabled_pages

    The other folder permission are ok with the user VU*** owning the folder.

    Is the permission and the owner of the folder domain_disabled_pages right?

    The content of the folder have also the same permission

    dr-xr-x--- 2 root www-data 4096 set 29 03:23 images
    -r--r----- 1 root www-data 3808 ott 5 13:05 index.html

    Thank you

  • @m4rv1n

    The /var/www/virtual/domain_disabled_pages directory is the DocumentRoot for disabled domains. The permissions currently set are correct. There is no bug.

    What is your problem exactly with rsync?


  • This is the log of rsync, permission problem when it rsync the folder (because the process can't write with this permission)

    rsync: recv_generator: mkdir "/backup/domain_disabled_pages/images" failed: Permission denied (13)
    *** Skipping any contents from this failed directory ***
    rsync: mkstemp "/backup/domain_disabled_pages/.index.html.cs0wmA" failed: Permission denied (13)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]

  • Give us the rsync command used, and the name of the user used to run the command.


  • The command is

    rsync -az --no-owner --no-group --delete --delete-excluded --chown=vu2010:vu2010 --log-file=/backup/rsync.log --exclude */backups/*.bz2 --exclude */htdocs/cache/ --exclude */htdocs/tmp/ --exclude */htdocs/temp/ /var/www/virtual/ /backup/

    The problem is only in the two directory reported in the previous post

  • and the name of the user used to run the command

    Anyway, you command is wrong...