Solved

Linux User/Group Overwrite

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now