Solved

Linux User/Group Overwrite

Posted on 2014-11-12
3
145 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CLI command keep running after close 7 72
Post Clonezilla image restore issue 6 88
ossec: how to extend rules 1002 and 1003 2 43
Bash script to include windows servers 13 39
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

734 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