Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# update-firefox
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# update-firefox
Code: Select all
ls -lh firefox-49.0b10-x86_64-1 .xzm
sudo chmod a+r firefox-49.0b10-x86_64-1 .xzm
Code: Select all
sudo chmod a+rw firefox-49.0b10-x86_64-1 .xzm
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# mc
root@porteus:/home/guest/Downloads# ls
google-chrome-53.0.2785.92-x86_64-1.xzm
root@porteus:/home/guest/Downloads# ls -lh firefox-49.0b10-x86_64-1 .xzm
/bin/ls: cannot access 'firefox-49.0b10-x86_64-1': No such file or directory
/bin/ls: cannot access '.xzm': No such file or directory
chmod: cannot access 'firefox-49.0b10-x86_64-1': No such file or directory1 .xzm
chmod: cannot access '.xzm': No such file or directory
root@porteus:/home/guest/Downloads# sudo chmod a+rw firefox-49.0b10-x86_64-1 .xzm
chmod: cannot access 'firefox-49.0b10-x86_64-1': No such file or directory
chmod: cannot access '.xzm': No such file or directory
root@porteus:/home/guest/Downloads#
Code: Select all
chown guest: firefox*
Code: Select all
guest@porteus:~$ update-firefox
Only root can run this.
guest@porteus:~$
Even if it is built as root, imo it should have read permission. This would allow mediafire to copy it. That was why requested to change mode in case no read (and execute?) permission for all, and requested posting of the output.brokenman wrote:You built the module as root, so guest does not own it.
Jack wrote:Now here is the question can all of this be done in guest if yes how?
Now I was trying to answer your question to do this as guest. I did not ask you to do the commands as root, because we are trying to do this as guest!Bogomips wrote:DoIf this does not work, doCode: Select all
ls -lh firefox-49.0b10-x86_64-1 .xzm sudo chmod a+r firefox-49.0b10-x86_64-1 .xzm
and post output here.Code: Select all
sudo chmod a+rw firefox-49.0b10-x86_64-1 .xzm
This shows there is only one file there.Jack wrote:Here is the output.Code: Select all
guest@porteus:~$ su Password: root@porteus:/home/guest# mc root@porteus:/home/guest/Downloads# ls google-chrome-53.0.2785.92-x86_64-1.xzm
I copied what you typed, but there was a blank in the name, but did not matter as firefox was not in the Download directory.Jack wrote:After it is built I type md5sum firefox-49.0b10-x86_64-1 .xzm then I try and move firefox-49.0b10-x86_64-1.xzm to MediaFire
Code: Select all
ls -lh firefox-49.0b10-x86_64-1.xzm
sudo chmod a+r firefox-49.0b10-x86_64-1.xzm
Code: Select all
sudo chmod a+rw firefox-49.0b10-x86_64-1.xzm