Link to home
Start Free TrialLog in
Avatar of kevbob650
kevbob650Flag for United States of America

asked on

Linux User/Group Overwrite

I am copying updated files via WinSCP from my desktop to a remote server.  I have one file that is problematic, when I copy the file over, it automatically changes the user and group, other files are fine?? Here's what it looks like in Putty:
drwxrwx---      mainuser          maintools      4096      Jun  20 2014    Directory1
drwxrwx---      mainuser          maintools      4096      Jul  15 2014      Directory2
-rwxrwx---      mainuser          maintools      18080      Jun  20 2014    File1
-rwxrwx---      mainuser          maintools      18080      Jun  20 2014    File2
-rwxrwx---      otheruser    user             18080      Jun  20 2014    File3

The problem file is the last one. The original file was created as mainuer/maintools but when I copy a fresh version via WinSCP, it resets the user/group as shown.  all other files move correctly
ASKER CERTIFIED SOLUTION
Avatar of Anil_dasmala
Anil_dasmala

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kevbob650

ASKER

So sorry, I never saw the response!  Thanks
Avatar of Anil_dasmala
Anil_dasmala

np, Thanks.