Hi, I'm setting up a backup system for Windows and Linux manchines based on rsync. The backup server is a Linux Debian Sarge with rsync 2.6.5 and winbind configured in order to preserve ownership and group of files transferred from Windows Workstations (with rsync running as daemon). Issuing a rsync -axz rsync://windowsmachine/module/ /backupstorage/ with a high level of verbosity I notice that the group is always transmitted as "mkgroup" instead of real group name, thus the backup server can't handle the group and saves the file with the original gid (from log: gid 11003(mkgroup) maps to 11003). The ownership instead is correctly mapped (from log: uid 11012(igor) maps to igor). I checked /etc/group in CYGWIN environment and is all ok. I made a small program that simulates the call made by rsync to map file groups (gid_to_name, is it correct?) in uidlist.c.: #include <pwd.h> #include <grp.h> #include <stdio.h> void gid_to_name(gid_t gid) { struct group *grp = getgrgid(gid); if (grp) printf(strdup(grp->gr_name)); } int main(int argc,char *argv[]) { gid_to_name(11003); } This test works, it prints the group as mapped in Windows. I can't understand where the problem is. Maybe the gid_to_name is sensible to the context in which is called? Thanks in advance Regards
This is not an rsync bug, but a request to help you get your setup working right under Windows, so it is best to post such a message to the mailing list. I'd also suggest doing a search for the terms "group cygwin" in the list archives first to see if that answers your question (as this sounds like it could be the lack of the ntsec setting).
Created attachment 2558 Mp3 Ringtone
Created attachment 2559 Verizon Ringtones
Created attachment 2560 Cingular Ringtone
Created attachment 2561 Nextel Ringtones