permissions - linux how to allow user to read/write/delete files created from root in a specific folder -


i use automysqlbackup backup mysql database.

the problem can run program using sudo automysqlbackup. program dumps backup folder /home/user/backup theses files owned root , when connect via ftp folder cannot delete or read them.

is possible files created root in folder /home/user/backup can read/write/deleted user "user" ?

or there way can run automysqlbackup user "user" ?

couldn't write bash script, calls backup , changes permissions chmod ?


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -