Re: git-clone file permissions and cpio
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- Apr 21, 2008, 11:41 UTC
- Message-ID
- <480C7D82.9000602@gnu.org>
- In-Reply-To
- <alpine.BSO.1.10.0804210911170.21918@zrgural.vwaro.pbz>
Show 5 quoted lines
> I got some kind of working behaviour with the diff below, which stops > cpio 'fixing' the file permissions (only on the directories). But it > seems the underlying cause is cpio trying to copy file permissions which > it would be better off not doing in this case (and which there isn't a > flag to disable).
I don't think you want to have the setgid bit on files, only on directories, so your patch seems okay to me.
Paolo