Solved

Linux User/Group Overwrite

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…

856 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