summaryrefslogtreecommitdiff
path: root/user-init
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2005-11-05 13:44:23 +0000
committerJonas Smedegaard <dr@jones.dk>2005-11-05 13:44:23 +0000
commit89415310a1452de27084d8dc7f9d753613d900cc (patch)
treec641202302b921629ee9189771ebc937fd5e534e /user-init
parenteed72e3f3d8cedd92ea3d888f2ba9a2c24ed70a8 (diff)
Handle ~/private_music dir.
Diffstat (limited to 'user-init')
-rwxr-xr-xuser-init6
1 files changed, 6 insertions, 0 deletions
diff --git a/user-init b/user-init
index 38ec924..62e238c 100755
--- a/user-init
+++ b/user-init
@@ -227,6 +227,12 @@ for user in $USERS; do
chmod -R u+rX,g=r,g+X,o= "$HOME/private"
fi
+ # Private music dir permissions
+ if [ -d "$HOME/private_music" ]; then
+ chown -R "$user": "$HOME/private_music"
+ chmod -R u+rX,g=r,g+X,o= "$HOME/private_music"
+ fi
+
# Fileshares: <home>/shares.<sharetype>/<rogroup>/<rwgroup>/<sharename>
# <sharetype>: Either mac or win depending on which of netatalk and samba provides r/w access to the shares
# <rwgroup>: Group with write access to the share (usually the default group of the owner)