dirsync icon indicating copy to clipboard operation
dirsync copied to clipboard

User permissions of target folder

Open hardstonepaul opened this issue 5 years ago • 1 comments

I'm try to install Prestashop on the parent folder of my target folder but I can't because the user Apache don't have recursive permissions on this folder. Recursive write permissions for Apache user on ~/img/ What can I do?. The syncing process are running in background? how can reset the permissions of the target folder? I use CentOS 7 and python 3.8.2 and this code: from dirsync import sync dirA = '/dirA/public_html/img/p' dirB = '/dirB/public_html/img/p' dirC = '/dirC/public_html/img/p' sync(dirA, dirB, 'sync') sync(dirA, dirC, 'sync') Thanks in advance for your reply and your work.

hardstonepaul avatar May 25 '20 18:05 hardstonepaul

I found the answer only with this code: sudo chmod 777 -R /dirB/public_html/img Regards

hardstonepaul avatar May 29 '20 19:05 hardstonepaul