delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
connect(): | No such file or directory |
From: | Matthias Meyer <matthias DOT meyer AT gmx DOT li> |
Subject: | chown in vista not work because of permission denied |
Date: | Mon, 03 May 2010 00:26:48 +0200 |
Lines: | 35 |
Message-ID: | <hrku79$m2p$1@dough.gmane.org> |
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 |
Hello, I have a cygwin 1.5.25 installation on a vista client. I can access the vista client by ssh. For that I use an account called "backup". I want use the ssh account for backup/restore with rsync. The Backup work well but the restore not :-( The files from a restore are owned by the ssh-account and not by the original user. I get an rsync error: rsync: chown "/Users/matthias/Desktop/.logfile.lnk.Ud0Zgp" (in C) failed: Permission denied (13) I would believe if I can solve the following construction my problem above will be solved too: If I login into this ssh backup AT vista I can create a file but I can not change the owner afterwards. $ echo "test" > /cygdrive/c/Users/matthias/Desktop/test.txt $ ls -alh /cygdrive/c/Users/matthias/Desktop/test.txt -rw-r--r-- 1 Backup None 5 May 3 00:07 test.txt $ chown matthias /cygdrive/c/Users/matthias/Desktop/test.txt chown: changing ownership of `test.txt': Permission denied I've set the following rights for the user "backup" net localgroup "${admingroup}" backup /add editrights -a SeBackupPrivilege -u backup && editrights -a SeRestorePrivilege -u backup && editrights -a SeServiceLogonRight -u backup Thanks in advance Matthias -- Don't Panic -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |