Permissions problem

Arch based Porteus community project

Moderator: M. Eerie

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#1 by Jack » 12 Jan 2024, 09:53

I just reinstalled Nemesis v23.09 and had a problem with setup-pman so I reinstall it. I check the Permissions on the USB and here what I found.

Image

I try to change Permissions with no luck or it wouldn't let me. So can someone help me? I just can't remember a lot any more so I must be leaving something out when I try.

A few years ago I had no problems doing it. I posted the screenshot using Porteus Mate v5.01 which run great and want Nemesis v23.09 to run great to but I can't using setup-pman and pacman because of the error.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Permissions problem

Post#2 by beny » 12 Jan 2024, 14:39

hi Jack log in as root to change permission or use the su option,well i have xfce4 but i think is the same with your DE.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#3 by Ed_P » 12 Jan 2024, 18:50

In terminal as guest the command "chmod +X filename" works. At least it does in Porteus.

Added in 5 minutes 37 seconds:
If the file is in a root controlled folder you may need to do a "su" command before executing the "chmod" command. :hmmm:
Ed

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

Permissions problem

Post#4 by beny » 12 Jan 2024, 20:20

hi Ed_P, have you seen the warn, you are not the owner so you can't change permission.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#5 by Ed_P » 12 Jan 2024, 21:30

beny wrote:
12 Jan 2024, 20:20
have you seen the warn, you are not the owner so you can't change permission.
Ed_P wrote:
12 Jan 2024, 18:56
If the file is in a root controlled folder you may need to do a "su" command before executing the "chmod" command.
What am I missing? The su command gives one root control. I'm pretty sure with File Manager opening a folder as root works also. :happy62:
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#6 by Jack » 17 Jan 2024, 16:11

I wish someone using the current version Nemesis cinnamon would try and install Mate for me.

I type this pacman -Syu mate mate-extra and receive this. I just want to fine out if they get it to work?

Code: Select all

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mate-icon-theme-faenza-1.20.0-2-any             17.6 MiB   775 KiB/s 00:23 [###########################################] 100%
 ghostscript-10.02.0-1-x86_64                    19.6 MiB   793 KiB/s 00:25 [###########################################] 100%
 webkit2gtk-4.1-2.40.5-2-x86_64                  26.3 MiB   815 KiB/s 00:33 [###########################################] 100%
 webkit2gtk-2.40.5-2-x86_64                      26.3 MiB   814 KiB/s 00:33 [###########################################] 100%
 libmateweather-1.27.0-1-x86_64                  17.0 MiB   993 KiB/s 00:18 [###########################################] 100%
 mate-backgrounds-1.26.0-1-any                   44.4 MiB  1067 KiB/s 00:43 [###########################################] 100%
 mate-icon-theme-1.26.0-1-any.pkg.tar.zst failed to download
 Total ( 7/94)                                  268.2 MiB  6.26 MiB/s 00:43 [###########################################] 100%
error: failed retrieving file 'mate-icon-theme-1.26.0-1-any.pkg.tar.zst' from archive.artixlinux.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
[porteus guest]# 
I just to want to know if it just me.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#7 by Ed_P » 17 Jan 2024, 16:53

Jack wrote:
17 Jan 2024, 16:11
I wish someone using the current version Nemesis cinnamon would try and install Mate for me.
Where does one find the current Nemesis version?
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#8 by Jack » 17 Jan 2024, 17:24

I guest I should have wrote this Nemesis-v23.09-CINNAMON-x86_64.iso.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#9 by Jack » 17 Jan 2024, 17:48

I try this version dated 2021-11-19. I used pacman -Syu mate mate-extra.

But this time it work and put them here /var/cache/pacman/pkg all 149 modules.

Code: Select all

000-kernel.xzm
001-core-20211119.xzm
002-gui-20211119.xzm
002-xtra-20211119.xzm
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#10 by Ed_P » 18 Jan 2024, 00:31

Nemesis-v22.08-CINNAMON-x86_64.iso I can boot, with Nemesis-v23.09-CINNAMON-x86_64.iso I can not.

Code: Select all

error: unknown filesystem.
error: you need to load the kernel first.

Press any key to continue...
My grub2 menu:

Code: Select all

menuentry " Porteus Nemesis ISO" --class slackware   --class icon-xtra-07  {

     set linux_folder=/porteus5.0
     set iso=/ISOs/Nemesis-v22.08-CINNAMON-x86_64.iso
     set iso=/ISOs/Nemesis-v23.09-CINNAMON-x86_64.iso
     set boot_parms="delay=8 changes=EXIT:$linux_folder/porteussave.dat volume=33 reboot=cold"     

     if [ -f /boot/syslinux/vmlinuz ]; then linux_folder=""; fi
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }
And with 22.08 I don't have Firefox so was unable to view this forum to try your commands.
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#11 by Jack » 18 Jan 2024, 03:17

Ed_P wrote:
18 Jan 2024, 00:31
Nemesis-v22.08-CINNAMON-x86_64.iso I can boot, with Nemesis-v23.09-CINNAMON-x86_64.iso I can not.
I could not run pacman -Syu mate mate-extra from Nemesis-v22.08-CINNAMON-x86_64.iso to Nemesis-v23.09-CINNAMON-x86_64.iso.

That why I had to back to Nemesis 2021 to get it to work. Hope I did the right because never it before.

2021 Updated Nemesis Base Modules

I think the last time I built Mate was 2018 I think.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#12 by Ed_P » 18 Jan 2024, 22:22

Ok, I redownloaded the v23.09-Cinnamon iso and it boots.

This is what I have managed with the mate-extra so far.

Code: Select all

guest@porteus ~]$ pacman -Syu mate mate-extra
error: you cannot perform this operation unless you are root.
[guest@porteus ~]$ su
Password: 
[porteus guest]# pacman -Syu mate mate-extra
error: failed to initialize alpm library:
(root: /, dbpath: /var/lib/pacman/)
database is incorrect version
try running pacman-db-upgrade
[porteus guest]# pacman-db-upgrade
==> Pre-4.2 database format detected - upgrading...
[porteus guest]# pacman -Syu mate mate-extra
:: Synchronizing package databases...
 system                265.4 KiB   176 KiB/s 00:02 [######################] 100%
 world                   4.8 MiB   906 KiB/s 00:05 [######################] 100%
 galaxy                392.0 KiB   279 KiB/s 00:01 [######################] 100%
 extra                   8.2 MiB   400 KiB/s 00:21 [######################] 100%
:: There are 14 members in group mate:
:: Repository world
   1) caja  2) marco  3) mate-backgrounds  4) mate-control-center
   5) mate-desktop  6) mate-icon-theme  7) mate-menus
   8) mate-notification-daemon  9) mate-panel  10) mate-polkit
   11) mate-session-manager  12) mate-settings-daemon  13) mate-themes
   14) mate-user-guide

Enter a selection (default=all): 
:: There are 24 members in group mate-extra:
:: Repository world
   1) atril  2) engrampa  3) eom  4) mate-applets  5) mate-calc
   6) mate-icon-theme-faenza  7) mate-media  8) mate-netbook
   9) mate-power-manager  10) mate-screensaver  11) mate-sensors-applet
   12) mate-system-monitor  13) mate-terminal  14) mate-user-share
   15) mate-utils  16) mozo  17) pluma
:: Repository galaxy
   18) caja-audio-video-properties  19) caja-image-converter
   20) caja-open-terminal  21) caja-sendto  22) caja-share  23) caja-wallpaper
   24) caja-xattr-tags

Enter a selection (default=all): 
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for libtevent.so=0-64:
:: Repository world
   1) tevent
:: Repository extra
   2) tevent

Enter a number (default=1): 
Added in 3 minutes 2 seconds:

Code: Select all

galaxy/caja-xattr-tags              1.27.0-1            0.02 MiB       0.01 MiB
world/engrampa                      1.27.0-1           12.97 MiB       1.16 MiB
world/eom                           1.27.0-1            9.06 MiB       1.88 MiB
world/marco                         1.27.0-1.5          6.38 MiB       1.05 MiB
world/mate-applets                  1.27.0-1           38.16 MiB       7.21 MiB
world/mate-backgrounds              1.26.0-1           44.91 MiB      44.42 MiB
world/mate-calc                     1.27.0-1            6.32 MiB       0.86 MiB
world/mate-control-center           1.27.0-1           14.04 MiB       2.51 MiB
world/mate-desktop                  1.27.0-1            3.85 MiB       0.73 MiB
world/mate-icon-theme               1.26.0-1           28.12 MiB      13.50 MiB
world/mate-icon-theme-faenza        1.20.0-2           75.90 MiB      17.57 MiB
world/mate-media                    1.27.0-1            1.36 MiB       0.25 MiB
world/mate-menus                    1.27.0-1            0.54 MiB       0.13 MiB
world/mate-netbook                  1.27.0-1            0.31 MiB       0.08 MiB
world/mate-notification-daemon      1.27.0-1            0.53 MiB       0.13 MiB
world/mate-panel                    1.27.0-1           13.14 MiB       2.08 MiB
world/mate-polkit                   1.27.0-1            0.26 MiB       0.06 MiB
world/mate-power-manager            1.27.0-1           13.96 MiB       5.98 MiB
world/mate-screensaver              1.27.0-1            6.17 MiB       4.52 MiB
world/mate-sensors-applet           1.27.0-1            3.99 MiB       0.26 MiB
world/mate-session-manager          1.27.0-1            1.52 MiB       0.35 MiB
world/mate-settings-daemon          1.26.0-1            3.16 MiB       0.62 MiB
world/mate-system-monitor           1.27.0-1           10.64 MiB       1.97 MiB
world/mate-terminal                 1.27.1-1           11.83 MiB       1.46 MiB
world/mate-themes                   3.22.24-1          77.02 MiB       5.47 MiB
world/mate-user-guide               1.26.0-1           73.84 MiB       7.97 MiB
world/mate-user-share               1.27.0-1            2.45 MiB       0.68 MiB
world/mate-utils                    1.27.0-1           22.87 MiB       6.64 MiB
world/mozo                          1.27.0-2            0.56 MiB       0.13 MiB
and the end of it.

Code: Select all

world/pluma                         1.27.0-2           27.33 MiB       2.66 MiB

Total Download Size:   268.18 MiB
Total Installed Size:  981.84 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 webkit2gtk-4.1-2...    26.3 MiB   596 KiB/s 00:45 [######################] 100%
 ghostscript-10.0...    19.6 MiB   296 KiB/s 01:08 [######################] 100%
 mate-icon-theme-...    17.6 MiB   223 KiB/s 01:21 [######################] 100%
 webkit2gtk-2.40....    26.3 MiB   312 KiB/s 01:26 [######################] 100%
 libmateweather-1...    17.0 MiB   415 KiB/s 00:42 [######################] 100%
 mate-backgrounds...    44.4 MiB   352 KiB/s 02:09 [######################] 100%
 mate-icon-theme-1.26.0-1-any.pkg.tar.zst failed to download
 Total ( 7/94)         268.2 MiB  2.07 MiB/s 02:09 [######################] 100%
error: failed retrieving file 'mate-icon-theme-1.26.0-1-any.pkg.tar.zst' from archive.artixlinux.org : Maximum file size exceeded
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
[porteus guest]#
Ed

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

Permissions problem

Post#13 by Jack » 18 Jan 2024, 23:34

@Ed_P Thanks for doing what I ask for now I know.

I know it not me I get the same error. So it going to be awhile before I can build Mate. For now I will used Nemesis-v23.09-CINNAMON-x86_64.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Permissions problem

Post#14 by Ed_P » 19 Jan 2024, 00:06

Maybe downloading the file via this Google link might help.

https://archlinux.pkgs.org/rolling/arch ... r.zst.html

Added in 18 minutes 15 seconds:
Maybe these links will help you Jack.

https://archlinux.pkgs.org/rolling/arch ... ar.xz.html
https://eu.mirror.archlinuxarm.org/aarc ... pkg.tar.xz

https://archlinux.pkgs.org/rolling/arch ... r.zst.html
https://ftp5.gwdg.de/pub/linux/archlinu ... kg.tar.zst

Code: Select all

guest@porteus:~/Downloads$ ls -hon
total 280K
-rw-r--r-- 1 1000 242K Jan  2 23:20 FetchStatementandNotices.pdf
-rwxr-xr-x 1 1000 3.1K Jun 30  2021 debug.sh*
-rw-r--r-- 1 1000  14K Jan 18 19:08 mate-common-1.26.0-1-any.pkg.tar.xz
-rw-r--r-- 1 1000  14K Jan 18 19:09 mate-common-1.26.0-1-any.pkg.tar.zst
guest@porteus:~/Downloads$ 
Ed

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Permissions problem

Post#15 by M. Eerie » 19 Jan 2024, 10:05

Ed_P wrote:
18 Jan 2024, 22:25
pacman -Syu mate mate-extra
Don't do this... Instead:

Code: Select all

pacman -Syu
The above command synchronizes with the database and updates all system packages accordingly (including dependencies, of course). This is the normal behaviour of any archlinux system.

then

Code: Select all

pacman -S mate mate-extras
Installs the mate and mate-extras groups with all of his dependencies.

However, I don't know what's the point of using Nemesis like this. I mean, acting like this (_AND SAVING CHANGES_ like seems to be the case) we are using a REDUCED and MODULAR base system whose packages are organized and separated into modules, (which is the Porteus/Nemesis concept) and then on top of that we act as if it were a typical arch system installation.

I doubt very much that it will not fail sooner or later. Moreover, the continued use of pacman -Syu will pull up lots of unneeded dependencies that will probably overlap with others included in the devel module or others and leading to a system that has nothing to do with the initial concept.

My recommendation is not to mix things up. Either you go for a modular system (where each module contains a delimited set of packages) or you go for a real installation where a command like "pacman -Syu" makes real sense. Or maybe a virtual machine...

At this point, it should be noted that the way a modular system like Porteus/Nemesis is built is by means of a delimited, curated list of packages.
In other words, THE ONE who conceived it :Rose: , knew well which packages could be excluded from a normal system while keeping it fast and usable.

The general command used for this purpose is

Code: Select all

pacman -U <delimited list of previously downloaded packages>. 
Although

Code: Select all

pacman -Sddr <delimited list of packages without dependencies> <system root>

could also be used.

Which is the opposite of

Code: Select all

pacman -Syu
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

Post Reply