[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Linux patch with Apache update changing permissions on SVN files

From: Benson, Dave L. <David.Benson_at_Donaldson.com>
Date: Tue, 27 Sep 2016 18:18:37 +0000

We are running Linux

Linux xxxxxxxxxx.xxx.com 2.6.32-504.12.2.el6.x86_64 #1 SMP Sun Feb 1 12:14:02 EST 2015 x86_64 x86_64 x86_64 GNU/Linux

We are also using Collabnet - SubversionEdge:
Information
Software version

3.2.1-3360.104

Subversion version

1.7.7-3360.104

Over the weekend out techgroup rolled out a patch that apparently included an Apache update.

Many of our directories and files under
/svn/cnsvnedge
Were owned by apache , group apache
This was especially true under /svn/cnsvnedge/data - where the repositories live, and /svn/cnsvnedge/conf where config files live.

During the patching the permissions to all of these were set back to a level where only apache could run them, but cnsvnedge runs as webadm on our box. As a result we were not able to start SubversionEdge using 'csvn start'.

I was logging into the server with my private account and doing a
sudo to apache before trying to start the service.

This has worked numerous times in the past.

Here is how it goes:

cd /svn/cnsvnedge
sudo -u apache bash
export JAVA_HOME=/usr/java/default
bin/csvn start

I get this error and it quits

/sbin/runuser: cannot set groups: Operation not permitted

Our techgroup was able to reassign groups and permissions to directories and files to at least start Edge and eventually allow write access to our repos. But this runuser issues persists so our standard shutdown/startup procedures do not work anymore.

Any help would be appreciated on what Apache did to us and how to get things back to normal.

NOTE: I am not a subscribed user (yet).
David L. Benson | Senior Application Developer
Donaldson Co., Inc | COMPASS - RICEW/Development Team
Phone: 952-887-3823
david.benson@donaldson.com<mailto:david.benson@donaldson.com> | www.donaldson.com<http://www.donaldson.com/>
Thank you for considering the environmental impact of printing emails.

[cid:image001.jpg_at_01D149EB.28481590]
Click here to access IT Self Service <https://donaldsonhelp.service-now.com/catalog_home.do?sysparm_view=catalog_default>
How to open an IT support ticket<https://donaldsonhelp.service-now.com/kb_view_customer.do?sysparm_article=KB0000981>

image001.jpg
Received on 2016-09-28 07:35:19 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.