Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
there is a proccess running as root (i now this is not the good thing to do, but is the way is running now, and it can't be changed in some months) that create tons of files in a folder. i have to sync this files with a twin folder on other machine, but there is no root access by ssh between the 2 machines.
also, in the twin machine, the process is running with limited user (the right thing), so while I can not change this process to run as root on original machine, I want the files it creates have the folder permissions, and not his.
If you can read the files from the other machine (with, say, scp) and have your umask set properly, the files should copy with "your" owner and group; that is, whatever user account is doing the copying will be the owner and group of the copied files and the files will have permission defined by your system umask setting (which probably ought to be 0022 which creates files 0644 and directories 0755).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.