You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg Thomas <th...@omc.bt.co.uk> on 2005/06/06 15:13:48 UTC
File permissions on .subversion folder
Although I've been a long time Subversion on Windows user, I've
recently started using Subversion on UNIX for the first time.
I've just noticed that the $HOME/.subversion folder and it's contents
are set to world read - in particular, $HOME/.subversion/auth/. Now,
this matches my umask, but I would think given the contents of the
auth folder Subversion should over-ride the umask and set it to user
r/w only.
Any thoughts - should I file an issue?
TIA,
Greg
--
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: File permissions on .subversion folder
Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Tue, 07 Jun 2005 09:08:35 +0100, Greg Thomas
<th...@omc.bt.co.uk> wrote:
>bash-2.03$ ls -Flad .subversion
>drwxr-xr-x 3 svnuser nobody 512 Jun 7 08:56 .subversion/
Oops. Hit the send button too quick. I just checked again, and sure
enough, the auth directory is just fine, so there is no issue.
bash-2.03$ ls -Flad .subversion/auth
drwx------ 5 svnuser nobody 512 Jun 7 08:56 .subversion/auth/
I'll go and get my coffee, now :-(
Greg
--
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: File permissions on .subversion folder
Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Mon, 6 Jun 2005 17:37:55 -0700, Ben Collins-Sussman
<su...@collab.net> wrote:
>~/.subversion/auth/ should definitely be mode 700. We set that
>deliberately. If not, then something is fishy.
Just double checked;
bash-2.03$ cd $HOME
bash-2.03$ rm -rf .subversion
bash-2.03$ umask
022
bash-2.03$ svn ls http://***/svn/
Authentication realm: <http://***:80> Subversion repository
Username: ***
Password for '***':
bash-2.03$ ls -Flad .subversion
drwxr-xr-x 3 svnuser nobody 512 Jun 7 08:56 .subversion/
This is Subversion version 1.1.0 (r11180) on Solaris 5.8. I know
Subversion is a little old, but I've just checked the release notes
and it's not been picked up since then (that I can tell), so I filed
issue 2330.
Greg
--
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: File permissions on .subversion folder
Posted by Ben Collins-Sussman <su...@collab.net>.
On Jun 6, 2005, at 8:13 AM, Greg Thomas wrote:
> Although I've been a long time Subversion on Windows user, I've
> recently started using Subversion on UNIX for the first time.
>
> I've just noticed that the $HOME/.subversion folder and it's contents
> are set to world read - in particular, $HOME/.subversion/auth/.
~/.subversion/auth/ should definitely be mode 700. We set that
deliberately. If not, then something is fishy.
I've never seen anyone report that it wasn't...?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: File permissions on .subversion folder
Posted by Manuel Vacelet <ma...@gmail.com>.
2005/6/6, Greg Thomas <th...@omc.bt.co.uk>:
> Although I've been a long time Subversion on Windows user, I've
> recently started using Subversion on UNIX for the first time.
>
> I've just noticed that the $HOME/.subversion folder and it's contents
> are set to world read - in particular, $HOME/.subversion/auth/. Now,
> this matches my umask, but I would think given the contents of the
> auth folder Subversion should over-ride the umask and set it to user
> r/w only.
As Ben said, auth directory is 0700 but I already reported here (with
a CC on -dev) this issue about .subversion/servers that can contain
passwords and is readable by anybody.
On -dev it seems this is not a subversion issue but a user issue: "If
you store a password, you have to check corresponding file
permissions".
But I don't trust people enough (me at first) to completly agree this
point of view :)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org