wordpress - Chmod specific directories using Phing FtpDeploy task -
i've setup phing build step deploy wordpress website external ftp server. actual transfer works fine, i'm trying figure out way set permissions on uploads directory allow users upload files.
i notice on ftpdeploy task in phing can specify dirmode, seems set permissions directories being deployed.
can tell me if it's possible set directory permissions , upload in single step (task) or have either 2 ftpdeploy tasks (one bulk of wordpress site , second uploads directory alone required permissions) or perform ssh chmod after deploy task.
if have in 2 stages, there benefits of doing separate deploy permissions on ssh method?
thanks in advance suggestions,
phil
you set permissions correctly on local system, , use dirmode="inherit"
attribute.
Comments
Post a Comment