ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Revision Graph
|
Root Listing
root
/
cvs-geidontei
/
modify-cvsroot-permission
Revision:
1.1
Committed:
Mon Sep 30 02:14:12 2024 UTC
(6 weeks, 5 days ago) by
yakumo_izuru
Branch:
MAIN
CVS Tags:
HEAD
Log Message:
cvsutils was already taken
File Contents
#
Content
1
#!/bin/sh
2
if
[
"x
$DOAS_USER
"
=
"x"
]
;
then
3
echo
"This is intended to be run with doas"
4
exit
1
5
fi
6
rm
-f
/cvs/
$DOAS_USER
7
ln
-sf
/home/
$DOAS_USER
/public_cvs
/cvs/
$DOAS_USER
8
chown
$USER
:users
/home/
$DOAS_USER
/public_cvs
9
chmod
-R
1777
/home/
$DOAS_USER
/public_cvs