geotek
Posts: 15
Joined: Wed Mar 27, 2013 2:57 pm

Moving Files Question

Sat Mar 19, 2016 4:06 pm

Greetings

I just purchased a SenseHat and finally got it to work using the examples with SenseHat package..
I am trying to enter my own SenseHat programs and using other example program but can seem to get them to work.
I am having problems creating and trying to move files around to where the SenseHat program reside.
I cannot seem to move files around, as permissions are denied. How do I get permissions to move files around such as copy and paste? The SenseHat files and examples are under usr/src...etc
help - thanks
Tom

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Moving Files Question

Sat Mar 19, 2016 4:11 pm

geotek wrote: I am having problems creating and trying to move files around to where the SenseHat program reside.
I cannot seem to move files around, as permissions are denied. How do I get permissions to move files around such as copy and paste? The SenseHat files and examples are under usr/src...etc
One purpose of permissions is to discourage you from messing things up. Simply moving files around might make programs fail to function. But in the case of something in the /usr directory, if you look there with

ls -lhr

you'll likely see things are owned by root and can be read but not written to depending on what groups the account is in. So if your account is a sudo account, you should be able to use sudo in front of the command and it will allow the modification. Whether or not this will mess something up, I don't know.

Return to “General discussion”