[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 148332ef45997ba3aaf38cc2c9a28441083bad49

Andreas Beckmann debian at abeckmann.de
Fri Dec 23 10:24:08 UTC 2011


The following commit has been merged in the master branch:
commit 289f5c80122ef4e3680eddba7ff700090d598bd6
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Nov 28 02:56:13 2011 +0100

    use user:group syntax with chown
    
    user.group is long deprecated
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/README.txt b/README.txt
index cf888a6..8180be1 100644
--- a/README.txt
+++ b/README.txt
@@ -10,7 +10,7 @@ Notes about the piuparts installation on piatti.debian.org
 
 === User setup
 
-A piupartss and a piupartsm user is need. Both are members of the group piuparts and /org/piuparts.debian.org is 774 piupartss.piuparts.
+A piupartss and a piupartsm user is need. Both are members of the group piuparts and /org/piuparts.debian.org is 774 piupartss:piuparts.
 Both user have some files in $HOME which are kept in git, including hidden files.
 
 Create an SSH keypair for piupartss and put it into ~/.ssh/authorized_keys of the piupartsm user, so the piupartss can login with ssh to localhost as piupartsm.
diff --git a/home/piupartss/bin/update-piuparts-setup b/home/piupartss/bin/update-piuparts-setup
index 8a9628c..a8e3195 100755
--- a/home/piupartss/bin/update-piuparts-setup
+++ b/home/piupartss/bin/update-piuparts-setup
@@ -81,15 +81,15 @@ if [ -d /org/piuparts.debian.org/.svn ] ; then
 fi
 if [ ! -d /org/piuparts.debian.org/ ] ; then
         sudo mkdir -p /org/piuparts.debian.org/
-	sudo chown piupartss.piuparts /org/piuparts.debian.org/
+	sudo chown piupartss:piuparts /org/piuparts.debian.org/
 	sudo chmod 775 /org/piuparts.debian.org/
 fi
 cd /org/piuparts.debian.org/
 pwd
 cp -r ~piupartss/piatti/org/piuparts.debian.org/* .
 mkdir -p master slave
-sudo chown piupartss.piuparts slave
-sudo chown piupartsm.piuparts master htdocs
+sudo chown piupartss:piuparts slave
+sudo chown piupartsm:piuparts master htdocs
 sudo chmod 775 master slave htdocs
 cd /org/piuparts.debian.org/etc
 # to support multiple host with this setup
@@ -106,7 +106,7 @@ fi
 if [ ! -d /org/piuparts.debian.org/src/ ] ; then
         sudo mkdir -p /org/piuparts.debian.org/src/
 	cd /org/piuparts.debian.org/src/
-        sudo chown piupartss.piuparts /org/piuparts.debian.org/src
+        sudo chown piupartss:piuparts /org/piuparts.debian.org/src
         sudo chmod 755 /org/piuparts.debian.org/src
 	git clone git://git.debian.org/git/piuparts/piuparts.git
 	cd piuparts

-- 
piatti.debian.org configuration files



More information about the Piuparts-commits mailing list