delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Matthias Meyer <Matthias DOT Meyer AT gmx DOT li> |
Subject: | all files seems to be owned by the actual user |
Date: | Sun, 07 Dec 2008 00:21:50 +0100 |
Lines: | 25 |
Message-ID: | <ghf1ei$lmn$1@ger.gmane.org> |
Reply-To: | Matthias DOT Meyer AT gmx DOT li |
Mime-Version: | 1.0 |
User-Agent: | KNode/0.10.9 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi, I define CYGWIN=nontsec as global environment variable. After reboot I install the cygwin-setup-2.602.exe. I only add rsync to the pre selected modules. Then I logged in into the cygwin bash (by using the icon on the desktop) There I tried "rsync -a /cygdrive/c/work /cygdrive/c/backup" All files in /cygdrive/c/backup will be owned by the user who runs the rsync. But the source files in /cygdrive/c/work are owned by another user! Another strangely effect is that "ls -alnh /" lists all files as owned by the actual user. If I do that as another user the files will also be listet as owned by him, the user who runs the ls. What is the reason for that? Is there a possibility to backup the files from different users (e.g. with rsync) and restore them with the same owner and permissions which they have at backup time? Thanks Matthias -- Don't panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |