diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-11-05 13:44:23 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-11-05 13:44:23 +0000 |
commit | 89415310a1452de27084d8dc7f9d753613d900cc (patch) | |
tree | c641202302b921629ee9189771ebc937fd5e534e /user-init | |
parent | eed72e3f3d8cedd92ea3d888f2ba9a2c24ed70a8 (diff) |
Handle ~/private_music dir.
Diffstat (limited to 'user-init')
-rwxr-xr-x | user-init | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |