Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Scratch Default Project Read Only #9

Open
ryanteck opened this issue Feb 14, 2015 · 2 comments
Open

Make Scratch Default Project Read Only #9

ryanteck opened this issue Feb 14, 2015 · 2 comments

Comments

@ryanteck
Copy link

Not sure if this is Pi_ltsp or an ScratchGPIO (Think GPIO) issue but as it loads a project with remote sensor connections enabled as default we found that kids overwrote this project with their code already inside causing issues when we needed to reboot it and not load the project.

@ryanteck
Copy link
Author

In the home directory the user has permission to change the file.

Storing the rsc.sb file in a system directory such as /opt/scratchGPIO5 (Config files for user applications) and then running

sudo chmod 555 /opt/scratchGPIO5/rsc.sb
sudo chown root:root /opt/scratchGPIO5/rsc.sb

Then causes scratch to go read only and requires the user to save elsewhere.

@cymplecy
Copy link
Owner

But I imagine users won't be defaulted to /home/pi/Documents/Scratch
Projects?

Which would make ScratchGPIO harder to use especially youngsters :(

On 14 February 2015 at 10:45, Ryan Walmsley [email protected]
wrote:

In the home directory the user has permission to change the file.

Storing the rsc.sb file in a system directory such as /opt/scratchGPIO5
(Config files for user applications) and then running

sudo chmod 555 /opt/scratchGPIO5/rsc.sb
sudo chown root:root /opt/scratchGPIO5/rsc.sb

Then causes scratch to go read only and requires the user to save
elsewhere.


Reply to this email directly or view it on GitHub
#9 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants