[nmglug] temp

Jason Schaefer js at jasonschaefer.com
Fri Dec 4 20:24:00 PST 2009


Do you need to have the log file under /var/log? how about writing it
to your home(where permissions won't be an issue). i.e,
/home/a/temperature.log

if you need it to be under /var/log/temperature you will need to
change the permissions on that folder. A simple approach:

change the owner to you (a). The -R is for recursive (so all sub
dirs/files will also get changed)

sudo chown -R a /var/log/temperature/

if you want a specific file changed just run chown on that.
sudo chown a /var/log/temp



More information about the nmglug mailing list