¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Permissions question...


 

Hi Adrian,

At this point I am totally lost... Sorry... From what I gather, something in my install process has set up node-red to not be able to read files in my dcole directories.

dcole is the primary user setup with Ubuntu when it was installed via a net install script. Running 20.04 now. Fully updated, etc.

Now that I have thrown what is probably a lot of useless data in the hopes something may help, do you see anything I did wrong ion the install?

For reference, the install process was as follows:

1. From Ubuntu's software installer, I selected Node Red, and installed it.

2. I began writing flows...

3. No other issues until now...

I have flows reading web pages, and showing results, etc... Some of them parse the pages, only issues are reading local files so far...

That is the overview of what I have done so far with node-red. I have been running Linux for a few years, but not deeply into it, as I am sure you can tell... Thank you for your patience.

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 07:02, Adrian Fewster wrote:
Alan, Would you run node-red as root rather than your normal user,
when operating node red from that normal user's home .node-red folder ?
I am assuming that is Dave's setup..
I think setting it up correct may avoid other issues for Dave in the future.
The stat response gave us info on existing link(s) worth exploring also.
73
Adrian
On 11/6/22 23:55, Alan Blind, WA9WUD wrote:
Adrian and John

Rather than changing the file permissions, can John simply read the file with a sudo prefix?

If so, John, prepend the below, to your read command:

?"sudo -S <<< "password" <insert command here>

Alan. WA9WUD


 

Going off list with this, thanks to all for putting up with this much traffic!

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 07:37, Adrian Fewster wrote:
Dave, Ok, I am happy to login via ssh access to check the items mentioned re service/visudo set etc.
Otherwise Mick and Alan have recommendations posted.
73
Adrian Fewster
On 12/6/22 00:31, Dave (NK7Z) wrote:
Hi Adrian,

At this point I am totally lost...? Sorry...? From what I gather, something in my install process has set up node-red to not be able to read files in my dcole directories.

dcole is the primary user setup with Ubuntu when it was installed via a net install script.? Running 20.04 now.? Fully updated, etc.

Now that I have thrown what is probably a lot of useless data in the hopes something may help, do you see anything I did wrong ion the install?

For reference, the install process was as follows:

1.? From Ubuntu's software installer, I selected Node Red, and installed it.

2.? I began writing flows...

3.? No other issues until now...

I have flows reading web pages, and showing results, etc...? Some of them parse the pages, only issues are reading local files so far...

That is the overview of what I have done so far with node-red.? I have been running Linux for a few years, but not deeply into it, as I am sure you can tell...? Thank you for your patience.

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 07:02, Adrian Fewster wrote:
Alan, Would you run node-red as root rather than your normal user,

when operating node red from that normal user's home .node-red folder ?

I am assuming that is Dave's setup..

I think setting it up correct may avoid other issues for Dave in the future.

The stat response gave us info on existing link(s) worth exploring also.

73


Adrian

On 11/6/22 23:55, Alan Blind, WA9WUD wrote:
Adrian and John

Rather than changing the file permissions, can John simply read the file with a sudo prefix?

If so, John, prepend the below, to your read command:

?"sudo -S <<< "password" <insert command here>

Alan. WA9WUD




 

Many thanks to Adrian! He sshed into my machine, (spending a large number of hours), and corrected the install issues. Actually he reinstalled node-red totally via npm, and that corrected all the permission issues I was having... All works now!

I can at last read files via node-red!

MANY THANK Adrian!! You are a gentlemen and a scholar... As I said via email, if you were closer I'd buy you a beer or two... If you ever get up this way, please look me up and collect on that offer!

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 08:03, Dave (NK7Z) wrote:
Going off list with this, thanks to all for putting up with this much traffic!
73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources
On 6/11/22 07:37, Adrian Fewster wrote:
Dave, Ok, I am happy to login via ssh access to check the items mentioned re service/visudo set etc.

Otherwise Mick and Alan have recommendations posted.


73


Adrian Fewster

On 12/6/22 00:31, Dave (NK7Z) wrote:
Hi Adrian,

At this point I am totally lost...? Sorry...? From what I gather, something in my install process has set up node-red to not be able to read files in my dcole directories.

dcole is the primary user setup with Ubuntu when it was installed via a net install script.? Running 20.04 now.? Fully updated, etc.

Now that I have thrown what is probably a lot of useless data in the hopes something may help, do you see anything I did wrong ion the install?

For reference, the install process was as follows:

1.? From Ubuntu's software installer, I selected Node Red, and installed it.

2.? I began writing flows...

3.? No other issues until now...

I have flows reading web pages, and showing results, etc...? Some of them parse the pages, only issues are reading local files so far...

That is the overview of what I have done so far with node-red.? I have been running Linux for a few years, but not deeply into it, as I am sure you can tell...? Thank you for your patience.

73, and thanks,
Dave (NK7Z)

ARRL Volunteer Examiner
ARRL Technical Specialist, RFI
ARRL Asst. Director, NW Division, Technical Resources

On 6/11/22 07:02, Adrian Fewster wrote:
Alan, Would you run node-red as root rather than your normal user,

when operating node red from that normal user's home .node-red folder ?

I am assuming that is Dave's setup..

I think setting it up correct may avoid other issues for Dave in the future.

The stat response gave us info on existing link(s) worth exploring also.

73


Adrian

On 11/6/22 23:55, Alan Blind, WA9WUD wrote:
Adrian and John

Rather than changing the file permissions, can John simply read the file with a sudo prefix?

If so, John, prepend the below, to your read command:

?"sudo -S <<< "password" <insert command here>

Alan. WA9WUD