Solved

Linux User/Group Overwrite

Posted on 2014-11-12
3
148 Views
Last Modified: 2014-11-27
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
0
Comment
Question by:kevbob650
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Anil_dasmala earned 500 total points
ID: 40438241
Please check if this question from winscp forums helps
http://winscp.net/forum/viewtopic.php?t=13430
0
 

Author Closing Comment

by:kevbob650
ID: 40469969
So sorry, I never saw the response!  Thanks
0
 
LVL 1

Expert Comment

by:Anil_dasmala
ID: 40470040
np, Thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question