Usermod Vdruser

#!/bin/bash
USER=vdruser
GROUP=vdruser
MOD=777
VDRVER="1.7.20"
VDRADMINVER="3.6.7"
sudo chown -R $USER.$GROUP /usr/local/src/vdr
sudo chown -R $USER.$GROUP /usr/local/src/vdr-$VDRVER
sudo chown -R $USER.$GROUP /usr/local/src/vdradmin-am-$VDRADMINVER
sudo chown -R $USER.$GROUP /etc/vdradmin
sudo chown -R $USER.$GROUP /var/cache/vdradmin
sudo chown -R $USER.$GROUP /var/run/vdradmin
sudo chown -R $USER.$GROUP /var/log/vdradmin
sudo chown -R $USER.$GROUP /etc/vdr
sudo chown -R $USER.$GROUP /var/vdr
sudo chown -R $USER.$GROUP /data
sudo chmod -R $MOD /data
sudo chown -R $USER.$GROUP /usr/local/bin
sudo chown -R $USER.$GROUP /var/lib/vdr