Changing Ownership Automatically post Upload

Advertisement

mikejan
Joined:
Posts:
1

Changing Ownership Automatically post Upload

Great Program! Is there anyway to automatically change ownership with uploaded file(s) based upon parent directory ownership?

Example.. so we login SCP as root, and have two files. One goes /home/userAAA/public_html/imgs/ and then the other one goes to /home/userBBB/public_html/media/

Right now we have to remember after uploads to Terminal...

chown -R userAAA:userAAA public_html

and then again for userBBB...

But is there a away to make this super simple?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum