From 8767eb759a9158506f7badc13327fef92cf8237e Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 6 Dec 2001 18:36:05 +0000 Subject: [PATCH] Improved the ownership command .. actually reduced script size. --- .../make-debian-X11/replacements/root/setup-debian-X11 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 b/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 index 445e4a8..35c817c 100755 --- a/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 +++ b/add-ons/yard/make-debian-X11/replacements/root/setup-debian-X11 @@ -1,6 +1,6 @@ #!/bin/bash -# $Id$ +# $Id: setup-debian-X11,v 1.6 2001/11/08 06:16:29 freesource Exp $ # make_debian-X11 replacement # This is usually enough for a minimalistic system @@ -13,12 +13,7 @@ dpkg-reconfigure make-debian-x11 # directories and add a few files. #dpkg-reconfigure --all -chown user /home/user -chgrp user /home/user -chown user /home/user/* -chgrp user /home/user/* -chown user /home/user/.* -chgrp user /home/user/.* +chown -v -R user:user /home/user chmod 777 /tmp # swim --initdb @@ -28,3 +23,4 @@ chmod 777 /tmp #rm /usr/bin/linux /etc/cron.daily/find +