Odd contents of bazaar-ng.org::bazaar-ng/bzr/bzr.dev
Martin Pool
martinpool at gmail.com
Thu Oct 27 04:49:43 BST 2005
On 27/10/05, John A Meinel <john at arbash-meinel.com> wrote:
> For some reason, whenever I try to rsync from
> bazaar-ng.org::bazaar-ng/bzr/bzr.dev/
>
> I get all of the files having the setgid bit set. I'm guessing the
> original idea was to set the gid bit on the directories, so that all
> files would be created in the correct permissions group.
Yes, that's correct, it was just a find command gone astray.
> However, it seems to have spilled over into other files as well.
> I believe the setgid bit make a file executable, and makes it run as
> that group. (I know it does the latter, I'm not sure if it is
> automatically executable).
No, it doesn't make them executable. If they're not already g+x the
setgid bit does nothing but make them look untidy.
> Can you remove those bits?
Done.
As a potentially useful bit of trivia, this zsh command finds any
regular files under this directory that are setgid.
ls -l **/*(.S)
--
Martin
More information about the bazaar
mailing list