Visual Productions forum

Author Topic: How to protect Show.xml??  (Read 2235 times)

March 20, 2014, 08:05:21 PM
Read 2235 times

Sharkston

  • Member
  • *
  • Posts: 2
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!
« Last Edit: March 21, 2014, 07:24:30 AM by Sharkston »

March 23, 2014, 04:52:04 PM
Reply #1

SAT12

  • Member
  • *
  • Posts: 40
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.


June 22, 2014, 07:36:22 PM
Reply #2

Sharkston

  • Member
  • *
  • Posts: 2
Thanx, bros! I'll try! ;)

 

SMF spam blocked by CleanTalk