permissions problems on sftp repo [SOLVED]
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 10 14:21:38 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thomas Nichols wrote:
| So now my question is: why is this not the default action of bzr init?
| This seems like a compelling reason to have bzr init create .bzr with
| chmod g+s -- are there any reasons why this should not be changed?
| Though it has been most instructive for me, I'm guessing many bzr users
| will not want to learn about setgid/setuid behaviour as it applies to
| files and directories on different Unices... just in order to allow
| users to commit from their local boxes without mashing the repo ;-)
|
| -- Thomas.
I'm not sure that it would help a lot. Specifically, a lot of systems default to
creating files as something like "jameinel.jameinel" (they create a group
account matching the username and set it as the default group). So at that point
setgid doesn't help, you need to chown anyway, which means you need to know
enough about chown and chmod. (Plus many default to a umask of 0022 so the group
doesn't have write access anyway.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH1UPyJdeBCYSNAAMRAk6gAKC8JjJZ/t+eS8+CObB02j4c0kIDhgCdF8ja
4Rjv+ohkCYdUxDIeHuf9Zvk=
=gQJ1
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list