Visual Productions forum

Products => Cuelux => Topic started by: Sharkston on March 20, 2014, 08:05:21 PM

Title: How to protect Show.xml??
Post by: Sharkston on March 20, 2014, 08:05:21 PM
Hi folks, need your help. Leaving Cuelux with all the Patch and Cues for unskilled staff for driving perfomances and here is a possibility of unwanted changes are made by incaution. Is it possible to restrict Show.xml and Patch editing? Work with Ubuntu 13.11. Just tryed to change file and folder rights to 'read only', but Cuelux wont work that way - it seems needs to keep files writable. Thanks for any input!
Title: Re: How to protect Show.xml??
Post by: SAT12 on March 23, 2014, 04:52:04 PM
We did it with a little starting script. We created a second cuelux folder "cuelux-backup" and a script file called "cuelux".


###Cuelux starting Scipt ###
rm -rf /home/XXX/Visual\ Productions/
mkdir /home/XXX/Visual\ Productions/
cp -a /home/XXX/cuelux-backup/* /home/XXX/Visual\ Productions/
cuelux
###END###


just change XXX to the user's home and set the permissions with "chmod a+x /home/XXX/cuelux"  ;)
Then put this file in an invisbile folder, for example "/home/XXX/.local/share/" and put it into your autostart settings.

Title: Re: How to protect Show.xml??
Post by: Sharkston on June 22, 2014, 07:36:22 PM
Thanx, bros! I'll try! ;)