Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users. AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed Any hint? Thanks Matthias I try the same under Windows XP and it works. But only one time. I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both cases ls -alh /cygdrive/b will list the content of drive c: (which is as expected) :-O Matthias dosdev as well as rsyncd must be run in the same user account. In addition rsyncd should not be startet by cygrunsrv. Also if cygrunsrv starts rsyncd as the same user as dosdev runs, windows apparently sees differences between them. vshadow, on the other hand, can (and must) be started through schtasks in the user account SYSTEM. I've didn't try to start rsyncd by schtasks. Maybee that works too. br 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/
Re: rsyncd cannot access volume shadow copy
On Mar 8 23:58, Matthias Meyer wrote: Matthias Meyer wrote: I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users. [...] Now I can access the volume shadow copy from rsyncd. But I have to start the rsyncd from a terminal (remote ssh session). If I run it as a service by cygrunsrv it can't access the volume shadow copy. It is the same in XP and Vista as well as in Home or Professional/Business versions. I've double check that the cygrunsrv/rsyncd runs in the same user which call the dosdev. Is there some special rights or environment for processes runs as service? The dosdev mapping is only visible within the same logon session. If you want to access it from the service, the service itself should create its own mapping. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users. AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed Any hint? Thanks Matthias Now I can access the volume shadow copy from rsyncd. But I have to start the rsyncd from a terminal (remote ssh session). If I run it as a service by cygrunsrv it can't access the volume shadow copy. It is the same in XP and Vista as well as in Home or Professional/Business versions. I've double check that the cygrunsrv/rsyncd runs in the same user which call the dosdev. Is there some special rights or environment for processes runs as service? br 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/
Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users. AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed Any hint? Thanks Matthias I try the same under Windows XP and it works. But only one time. I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both cases ls -alh /cygdrive/b will list the content of drive c: (which is as expected) :-O 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/
Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed I try the same under Windows XP and it works only one time :-O I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both (XP) cases ls -alh /cygdrive/b will list the content of drive c: Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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/
Re: rsyncd cannot access volume shadow copy
Am Mittwoch 18 Februar 2009 schrieb Larry Hall (Cygwin): Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 No, is the same problem. But I found today two old threads around this problem in the mailgroup and I hope to find an answer here. br 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/
Re: rsyncd cannot access volume shadow copy
Am Mittwoch 18 Februar 2009 schrieb Matthias Meyer: Am Mittwoch 18 Februar 2009 schrieb Larry Hall (Cygwin): Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 No, is the same problem. But I found today two old threads around this problem in the mailgroup and I hope to find an answer here. br Matthias -- Don't Panic and I didn't recognize that cygwin@cygwin.com is the same as gmane.os.cygwin. I'm stupid ;-) Sorry -- 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/