B4J Question [ABMaterial] Why tempjars has "root" as owner and not "pi"?

Cableguy

Expert
Licensed User
Longtime User
I am finally starting to run some test some "under-dev" ABMaterial samples and each time I re-upload the files to the Raspberry pi, using SFTP, I see that "tempjars" owned by "root" and not by "pi"... so I get a "permission denied" alert!
So when copying, at each "permission denied" alert, I just skip these files… (the 'myapp.core.min.xxxxx.css', 'myapp.xxxxx.css', 'myapp.xxxxxx.js' and 'index.html')
Is this ok?
 

Cableguy

Expert
Licensed User
Longtime User
So, after some "brainstorming" my self, I wondered if it was possible to SFTP as root… before you go bashing me, I know it not advised…
So I found this page:
https://raspberrypi.stackexchange.com/questions/48056/how-to-login-as-root-remotely

and the only change I made to the sequence was to first create the root password and only then restart the ssh service… I did this way because restarting the ssh service requires the root password, which is not defined by default.

This should "solve" the issue of why different owners in the same project files.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…