|
From: | Dominic Raferd |
Subject: | Re: [rdiff-backup-users] Have rdiff-backup not preserve permissions? |
Date: | Thu, 21 Mar 2013 17:18:40 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
Which version of windows? There is a known bug in Cygwin which
causes big problem under Windows 8 (but also exists under Windows 7)
by which the 'group' of the cygwin user is set incorrectly. To fix this for any future files: - Look up the group ID of the "Users" group in /etc/group: cat /etc/group|egrep '^Users:'|cut -f3 -d':' - Edit your /etc/passwd file. Locate the record for your user. The 4th colon-delimited field is the "primary group" for the user, incorrectly set to a non-existent group. Change that number to the number you found above and save the file. - Close the cygwin terminal and reopen. Create a new file. It should have group "Users" and you should be able to change its permissions as desired. To correct existing files with wrong group settings use a recursive chgrp like this (for all files in user's home): chgrp -R Users ~ It might help? Dominic On 19/03/2013 22:31, Dave Potts wrote:
--
TimeDicer: Free File Recovery from Whenever |
[Prev in Thread] | Current Thread | [Next in Thread] |