You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris <sv...@coolarrow.com> on 2005/09/14 19:54:17 UTC

svn command only from wheel group users?

Hi,

FreeBSD 5.4
subversion 1.2.1

It has been discovered that the svn command only works 
when issued by a user from the 'wheel' group (the don't 
have to be SU or use SUDO ... just being in the wheel 
group is sufficient). If the command is issued by a normal 
non-wheel-group user, they get:

      /libexec/ld-elf.so.1: Shared object 
"libaprutil-1.so.0" not found, required by 
"libsvn_subr-1.so.0"

Any ideas?

Thanks,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn command only from wheel group users?

Posted by Patrick Burleson <pb...@gmail.com>.
On 9/14/05, James FitzGibbon <jf...@primustel.ca> wrote:
> What about the directory the libraries are in?  If it was created by 'make
> install' and the umask was 027 or similar, the directory might be 0750
> root:wheel, even though the files inside are 0755 root:wheel.
>

Better check all directories in the path just in case. 

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: svn command only from wheel group users?

Posted by James FitzGibbon <jf...@primustel.ca>.
That is more likely an error about the ktrace.out file in the directory you
are in.  Make sure you have permissions to delete any existing ktrace.out
file in the current directory and permissions to create a new one in the
current directory.  Or use the -f switch to ktrace to specify an alternate
trace file that you can remove and re-create.

Let's move this discussion off-list until we have gotten past the basic unix
permissions problem phase, OK?

-----Original Message-----
From: Chris [mailto:svnuser@coolarrow.com] 
Sent: Wednesday, September 14, 2005 5:52 PM
To: users@subversion.tigris.org
Subject: Re: svn command only from wheel group users?


> Since you're on FreeBSD, try running 'ktrace svn help' 
>and then run 'kdump'
> to look for the error coming back when you try to access 
>the library.


Well, ktrace and kdump seem to work fine when I'm running 
as root. When I try to run ktrace as any other user, I 
get:

      ktrace: unlink ktrace.out: Permission denied

The permissions for /bin/unlink are -r-xr-xr-x 
(root:wheel)
and the directory unlink is in: drwxr-xr-x

The permissions for /usr/bin/ktrace are -r-xr-xr-x 
(root:wheel)
and the directory ktrace is in: drwxr-xr-x


Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date: 9/14/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date: 9/14/2005
 



-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn command only from wheel group users?

Posted by Chris <sv...@coolarrow.com>.
> Since you're on FreeBSD, try running 'ktrace svn help' 
>and then run 'kdump'
> to look for the error coming back when you try to access 
>the library.


Well, ktrace and kdump seem to work fine when I'm running 
as root. When I try to run ktrace as any other user, I 
get:

      ktrace: unlink ktrace.out: Permission denied

The permissions for /bin/unlink are -r-xr-xr-x 
(root:wheel)
and the directory unlink is in: drwxr-xr-x

The permissions for /usr/bin/ktrace are -r-xr-xr-x 
(root:wheel)
and the directory ktrace is in: drwxr-xr-x


Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn command only from wheel group users?

Posted by James FitzGibbon <jf...@primustel.ca>.
Since you're on FreeBSD, try running 'ktrace svn help' and then run 'kdump'
to look for the error coming back when you try to access the library.

Here's what I see when the loader tries to get to the library in a directory
that it has access to but where the file is not present:

  6451 svn      NAMI  "/usr/home/james/lib/libsvn_client-1.so.0"
  6451 svn      RET   access -1 errno 2 No such file or directory

And here us what I get when the loader tries to get to the library in a
directory that it does not have access to:

  6384 svn      NAMI  "/usr/local/lib/libsvn_client-1.so.0"
  6384 svn      RET   access -1 errno 13 Permission denied

If you get errno 13, then permissions are to blame somewhere along the line.

Hope that helps.

-----Original Message-----
From: Chris [mailto:svnuser@coolarrow.com] 
Sent: Wednesday, September 14, 2005 5:16 PM
To: users@subversion.tigris.org
Subject: Re: svn command only from wheel group users?


>> -rwxr-xr-x  1 root  wheel  225806 Jul 27 11:16 
>> /usr/local/lib/libaprutil-1.so.0*

> What about the directory the libraries are in?  If it 
>was created by 'make
> install' and the umask was 027 or similar, the directory 
>might be 0750
> root:wheel, even though the files inside are 0755 
>root:wheel. 


I just double-checked, and the directory that the 
libraries are in is also drwxr-xr-x (root:wheel)

Thanks, but still puzzled,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005
 



-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn command only from wheel group users?

Posted by Chris <sv...@coolarrow.com>.
>> -rwxr-xr-x  1 root  wheel  225806 Jul 27 11:16 
>> /usr/local/lib/libaprutil-1.so.0*

> What about the directory the libraries are in?  If it 
>was created by 'make
> install' and the umask was 027 or similar, the directory 
>might be 0750
> root:wheel, even though the files inside are 0755 
>root:wheel. 


I just double-checked, and the directory that the 
libraries are in is also drwxr-xr-x (root:wheel)

Thanks, but still puzzled,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn command only from wheel group users?

Posted by James FitzGibbon <jf...@primustel.ca>.
What about the directory the libraries are in?  If it was created by 'make
install' and the umask was 027 or similar, the directory might be 0750
root:wheel, even though the files inside are 0755 root:wheel. 

-----Original Message-----
From: Chris [mailto:svnuser@coolarrow.com] 
Sent: Wednesday, September 14, 2005 4:57 PM
To: List Subversion
Subject: Re: svn command only from wheel group users?


> Does "everyone" have permission to access 
>libaprutil-1.so.0? What are  its file system permissions?


It appears so:

-rwxr-xr-x  1 root  wheel  225806 Jul 27 11:16 
/usr/local/lib/libaprutil-1.so.0*


Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005
 



-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn command only from wheel group users?

Posted by Chris <sv...@coolarrow.com>.
> Does "everyone" have permission to access 
>libaprutil-1.so.0? What are  its file system permissions?


It appears so:

-rwxr-xr-x  1 root  wheel  225806 Jul 27 11:16 
/usr/local/lib/libaprutil-1.so.0*


Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn command only from wheel group users?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 14, 2005, at 21:54, Chris wrote:

> It has been discovered that the svn command only works when issued  
> by a user from the 'wheel' group (the don't have to be SU or use  
> SUDO ... just being in the wheel group is sufficient). If the  
> command is issued by a normal non-wheel-group user, they get:
>
>      /libexec/ld-elf.so.1: Shared object "libaprutil-1.so.0" not  
> found, required by "libsvn_subr-1.so.0"

Does "everyone" have permission to access libaprutil-1.so.0? What are  
its file system permissions?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org