Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9441 - Run SVN svnserve as another user (diff attached)
Attached to Project:
Arch Linux
Opened by Ray/Unreal (ray) - Saturday, 02 February 2008, 10:15 GMT
Last edited by Jason Chu (jason) - Sunday, 30 March 2008, 20:44 GMT
Opened by Ray/Unreal (ray) - Saturday, 02 February 2008, 10:15 GMT
Last edited by Jason Chu (jason) - Sunday, 30 March 2008, 20:44 GMT
|
DetailsWould be nice to provide possibility to start svnserve as another user. Small diff follows:
[root@io rc.d]# diff /etc/rc.d/svnserve svnserve_orig 12,16c12 < if [ -n "$SVNSERVE_USER" ]; then < su $SVNSERVE_USER -c "/usr/bin/svnserve -d $SVNSERVE_ARGS" & < else < /usr/bin/svnserve -d $SVNSERVE_ARGS & < fi --- > /usr/bin/svnserve -d $SVNSERVE_ARGS & This adds to /etc/conf.d/svnserve optional option SVNSERVE_USER. So, when added line SVNSERVE_USER="svn" svnserve runs as "svn" user. Also would be good to change default /etc/conf.d/svnserve - add something like: #uncomment following line, if you with to run svnserve as another user #SVNSERVE_USER="svn" Ray |
This task depends upon
Closed by Jason Chu (jason)
Sunday, 30 March 2008, 20:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.4.6-1
Sunday, 30 March 2008, 20:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.4.6-1