keepuptodate user change

Advertisement

Dinduch
Joined:
Posts:
5

keepuptodate user change

I want to use a script to continuously update one of my directory's with a remote directory. However, at the remote directory user and group of the uploaded files must be different as the login user. For example, i login with username 'testuser1' via publickey. Now all my uploaded files are uploaded and owned by 'testuser1'. But they should have username 'usertest2'.

Reply with quote

Advertisement

Dinduch
Joined:
Posts:
5

For now, i use have setup a workaround. I use inotify to monitor the directory for changes and set the owner and group i want for changed files. Maybe there is another way, but for now it seems to do what i want.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,464
Location:
Prague, Czechia

Re: keepuptodate user change

WinSCP does not support automatic changing of owner of uploaded files.

Reply with quote

Advertisement

You can post new topics in this forum