Hi, Mercurial seems to be setting permissions strangely, on files inside subdirectories, when cloning a repository. Namely, on the Windows side, the user SYSTEM user seems to be lacking any permissions. This causes the files not being able to be backed up (by CrashPlan).
~$ mkdir test ~$ cd test ~/test$ mkdir foo ~/test$ touch bar.txt foo/baz.txt ~/test$ hg init ~/test$ hg add bar.txt foo/baz.txt ~/test$ hg commit -m "test" ~/test$ cd .. ~$ hg clone test test2 updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved ~$ cd test2 ~/test2$ ls -l bar.txt foo/baz.txt -rw-------+ 1 tuomov None 0 2012-05-30 18:51 bar.txt -rw------- 1 tuomov None 0 2012-05-30 18:51 foo/baz.txt All looks good so far... but what's the difference with the + sign ? Now let's look at Windows properties dialog for the permissions: bar.txt: SYSTEM: full control, etc. tuomov: read, write Administratoren: Full control Everyone, None: Special permissions("Administrators" is in German, because Lenovo recovery disks never gave me the chance to install English Windows, and I had to do some spurious stuff to make it English.
The original install gave the chance.) This looks ok so far, but let's look at the other file. foo/baz.txt: tuomov: read, write Everyone, None: Special permissions Oops, SYSTEM is missing. What's going on here?
cygcheck.out
Description: Binary data
-- 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