BTW Adrian,
THANK YOU for taking the time to help me in this! I do appreciate it. The task of reading a file seemed so simple when I started. :)
I get:
dcole@nostromo:~$ ps ax o user,pid,%cpu,%mem,vsz,rss,tty,stat,start,time,comm,group,gid | grep node
root 3771 3.9 0.5 983616 134424 ? Sl Jun 07 03:28:02 node-red root 0
73, and thanks,
Dave (NK7Z)
ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources
toggle quoted message
Show quoted text
On 6/11/22 06:41, Adrian Fewster wrote:
$ ps ax o user,pid,%cpu,%mem,vsz,rss,tty,stat,start,time,comm,group,gid | grep node
to check node-red user, group,
On 11/6/22 23:33, Adrian Fewster via groups.io wrote:
also
sudo usermod -a -G node-red-group dcole
On 11/6/22 23:30, Adrian Fewster via groups.io wrote:
Dave I agree with Mick on below, and it will probably fix your issue.
Doing the other things mentioned are useful in general.
Will be good to know what the link(s) are tho
73
Adrian
On 11/6/22 23:18, Mick - W8BE wrote:
[Edited Message Follows]
Dave,
Your file permissions are fine for read and write.
-rw-rw-rw- 1 dcole dcole 3 Jun 11 05:20 /home/dcole/scripts/solar_data/incoming/lotwcount.txt. What group is node red being run from?
You can check /etc/group. If it is not in the same group you can add dcole to the node red group
chown 'node-red-group':dcole //home/dcole/scripts/solar_data/incoming/lotwcount.txt
Can you even write to the file? From all the above posts, I am getting the impression you can't even write to it.
At this point Dave,? I would just work with Adrian on this. Too many cooks in the kitchen.
--
Mick, W8BE