Re: Unexpected permission denied

2023-01-25 Thread Greg Wooledge
On Thu, Jan 26, 2023 at 10:26:34AM +0700, Max Nikulin wrote: > Greg, I agree with your warnings. Just out of curiosity, is there a reason > why the following variant may still be unsafe? > > runas() { local who=$1; shift; su --login "$who" --shell=/bin/bash > --command='"$0" "$@"' -- "$@"; } 1)

Re: Unexpected permission denied

2023-01-25 Thread Max Nikulin
On 25/01/2023 21:52, Greg Wooledge wrote: On Wed, Jan 25, 2023 at 03:36:33PM +0100, Yassine Chaouche wrote: runas_wwwdata () { echo su - www-data -s /bin/bash -c "$*"; su - www-data -s /bin/bash -c "$*" } ... su(1) is pretty much the WORST possible choice for this, as it forces you

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread Sébastien Dinot
Daniel Caillibaud a écrit : > J'avais cru comprendre que les cartes récentes sur cpu récents > laissaient faire le GPU intégré du processeur sur la 2D (et que du > coup une carte graphique séparée ne servait plus à grand chose en > CAO/DAO, ça peut juste accélérer l'aperçu 3D quand on l'utilise).

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread Sébastien Dinot
Bonsoir, didier gaumet a écrit : > - en fait avec la release R515 (on en est à R525) de ses pilotes, > Nvidia emprunte le chemin défriché avant lui par AMD: il ouvre ses > drivers, progressivement. A partir de la R515 le pilote proprio > Nvivia contient aussi le module noyau libre. Le but

Re: kernel errors

2023-01-25 Thread Thomas Schmitt
Hi, piorunz wrote: > read attempts continue, Obviously your drive groper is different from Richmond's. Both get lured into their activities by the kernel bugs. > Inserting blank disc on every reboot is not a solution in my opinion. And I > didn't verified it myself, It would be interesting to

Re: Ctrl-C ignored after pasting a long text in an X terminal emulator

2023-01-25 Thread David Wright
On Tue 24 Jan 2023 at 18:29:38 (+0100), Vincent Lefevre wrote: > On 2023-01-24 10:36:05 -0600, David Wright wrote: > > On Tue 24 Jan 2023 at 15:34:49 (+0100), Vincent Lefevre wrote: > [...] > > > For instance, if I paste the following 3 lines > > > > > > foo1 > > > foo2 > > > foo3 > > > > > > in

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread Basile Starynkevitch
On 1/25/23 17:00, didier gaumet wrote: Avertissement: possible traversée d'une nuée de grosses conneries :-) Je suis une vraie brêle concernant la compréhension de tout ça mais j'ai quand même l'impression qu'il y a un malentendu assez répandu concernant la 3D: pour la majorité des gens la 3D

Re: kernel errors

2023-01-25 Thread piorunz
On 25/01/2023 15:26, Thomas Schmitt wrote: it might be that there are no further (periodic) read attempts. If the messages only appear once during the boot procedure, then i think the issue is explored as far as possible without starting kernel programming. Just to briefly comment on this -

Re: Peut ton faire du raid 10 logiciel?

2023-01-25 Thread ptilou
Le mercredi 4 janvier 2023 à 05:40:06 UTC+1, Olivier backup my spare a écrit : > Bonjour > > J'ai récupéré le PC de ma mère. > J'ai mis une carte RAID chinoise (raid O, 1, 5, 10) > Problème. 2 disk 2 To et 2 disque 4 To > J'ai fait une grappe 2 to et une grappe 4 To en raid 0 > Là, la carte

Re: Installer le navigateur Tor sur Bullseye 64 bits

2023-01-25 Thread Jean-Marc
Le 25/01/23 à 18:16, ajh-valmer a écrit : Il me faudrait les lignes exactes bullseye à mettre dans le sources.list deb http://deb.debian.org/debian bullseye-backports main contrib non-free https://wiki.debian.org/fr/Backports Bonne soirée, A. Valmer -- Jean-Marc OpenPGP_signature

Re: Installer le navigateur Tor sur Bullseye 64 bits

2023-01-25 Thread didier gaumet
Le mercredi 25 janvier 2023 à 18:16 +0100, ajh-valmer a écrit : > Grand merci pour ton aide : > > torbrowser-launcher: > Installé : (aucun) > Candidat : 0.3.3-6 > Table de version : > 0.3.6-1~bpo11+1 100 > 100 http://ftp.debian.org/debian bullseye-backports/contrib amd64 > Packages > 100

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread Eric DEGENETAIS
Le mer. 25 janv. 2023 à 15:44, Daniel Caillibaud a écrit : > Le 24/01/23 à 11:54, Sébastien Dinot a écrit : > > Grosso modo, c'est OK pour la 3D, mais toutes les fonctions restent à > > implanter au niveau de la 2D. > > Mais est-ce que la carte est sollicitée en 2D ? > Est-ce que ça ne

Re: Installer le navigateur Tor sur Bullseye 64 bits

2023-01-25 Thread ajh-valmer
Grand merci pour ton aide : torbrowser-launcher: Installé : (aucun) Candidat : 0.3.3-6 Table de version : 0.3.6-1~bpo11+1 100 100 http://ftp.debian.org/debian bullseye-backports/contrib amd64 Packages 100 http://deb.debian.org/debian bullseye-backports/contrib amd64 Packages 0.3.3-6 500 500

(testing) Mousewheel superfast after recent reinstall

2023-01-25 Thread Tobias Klausmann
Reported both as a Debian kernel issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029584 (since I thought for a while that it was that) And as a libinput issue: https://gitlab.freedesktop.org/libinput/libinput/-/issues/852 I dunno what the proper fix would be, or where, but I am

Re: Unexpected permission denied

2023-01-25 Thread Jeffrey Walton
On Wed, Jan 25, 2023 at 2:54 AM jeremy ardley wrote: > > [...] > Rechecked, thanks. The vendor directory didn't have x permissions. > Fixed. Now to track down all the other files similarly afflicted in the > screaming pile of manure called drupal. > > root@gram01:/# ls -ld

Re: Unexpected permission denied

2023-01-25 Thread Jeffrey Walton
On Wed, Jan 25, 2023 at 2:34 AM wrote: > > On Wed, Jan 25, 2023 at 02:51:05PM +0800, jeremy ardley wrote: > > [...] > > > 0.41 lstat("/var/www/grammartiste.com/web/vendor/autoload.php", > > 0x7fffdc580970) = -1 EACCES (Permission denied) > > 0.34

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread didier gaumet
Avertissement: possible traversée d'une nuée de grosses conneries :-) Je suis une vraie brêle concernant la compréhension de tout ça mais j'ai quand même l'impression qu'il y a un malentendu assez répandu concernant la 3D: pour la majorité des gens la 3D c'est un truc clairement identifié "3D"

Re: Peut ton faire du raid 10 logiciel?

2023-01-25 Thread Michel Verdier
Le 25 janvier 2023 Daniel Caillibaud a écrit : > L'intérêt du raid0 c'est de multiplier par 2 (quasiment) les perfs disques > (avec deux volumes > dans le raid0), et j'avais compris qu'il fallait des volumes de tailles > voisines pour conserver > ça. Oui c'est vrai, pour éviter de remplir une

Re: kernel errors

2023-01-25 Thread Thomas Schmitt
Hi, Richmond wrote: > VENDOR MODEL SIZE PHY-SEC LOG-SEC > HL-DT-ST HL-DT-ST_DVDRAM_GH15F 204820482048 > It has stayed like this after I removed it. Next question would be whether the error messages stopped after this. But re-reading your initial post: > > I see

Re: kernel errors

2023-01-25 Thread Richmond
Richmond writes: > "Thomas Schmitt" writes: > >> Hi, >> >> i wrote: >>> > If you have some blank optical medium, then try whether the emitter of >>> > the read attempt can be discouraged if the drive is perceived as offering >>> > just one block of 2048 bytes. >> >> Richmond wrote: >>> I don't

Re: Unexpected permission denied

2023-01-25 Thread Nicolas George
Greg Wooledge (12023-01-25): > When investigating permissions, there's really no reason to do the > investigation as a non-root user. When investigating permissions, doing your tests as root instead of the user who is having the permissions issues, is a sure way for hiding the issue. Nothing to

Re: Unexpected permission denied

2023-01-25 Thread Greg Wooledge
On Wed, Jan 25, 2023 at 03:36:33PM +0100, Yassine Chaouche wrote: > Le 1/25/23 à 3:22 PM, Nicolas George a écrit : > > For the current problem: > > > > sudo -u www-data namei /var/www/nextcloud/3rdparty/autoload.php > > > > … will cause the command to be executed in an environment closer to the

Re: kernel errors

2023-01-25 Thread Richmond
"Thomas Schmitt" writes: > Hi, > > i wrote: >> > If you have some blank optical medium, then try whether the emitter of >> > the read attempt can be discouraged if the drive is perceived as offering >> > just one block of 2048 bytes. > > Richmond wrote: >> I don't know how to do that. Do you

Re: Retex sur le support de la carte NVidia RTX 2060 par le pilote Nouveau ?

2023-01-25 Thread Daniel Caillibaud
Le 24/01/23 à 11:54, Sébastien Dinot a écrit : > Grosso modo, c'est OK pour la 3D, mais toutes les fonctions restent à > implanter au niveau de la 2D. Mais est-ce que la carte est sollicitée en 2D ? J'avais cru comprendre que les cartes récentes sur cpu récents laissaient faire le GPU intégré

Re: Can't install Debian to CF card in SATA adapter

2023-01-25 Thread Mike
On Sun, Jan 22, 2023 at 09:33:42PM +0100, Thomas Schmitt wrote: > Hi, > > Mike wrote: > > I don't think that it's a bad grub binary, as I have reinstalled several > > times, with the same result. > > But if it's indeed shim which is complaining then it complains about the > content of

Re: Unexpected permission denied

2023-01-25 Thread Yassine Chaouche
Le 1/25/23 à 3:22 PM, Nicolas George a écrit : For the current problem: sudo -u www-data namei /var/www/nextcloud/3rdparty/autoload.php … will cause the command to be executed in an environment closer to the one that causes the problem, and therefore is more likely to reveal it. Use any

Re: Peut ton faire du raid 10 logiciel?

2023-01-25 Thread Daniel Caillibaud
Le 24/01/23 à 13:26, Michel Verdier a écrit : > En fait il faut 2 *partitions* de même taille pour chaque paire > raid1. Mais on peut avoir des tailles différentes pour le raid0. On peut, mais ça dégrade les perfs non ? L'intérêt du raid0 c'est de multiplier par 2 (quasiment) les perfs disques

Re: Unexpected permission denied

2023-01-25 Thread Nicolas George
Yassine Chaouche (12023-01-25): > I prefer to use namei -l. namei is good indeed. > root@cloud[10.10.10.84/24] 15:15:43 ~ # namei -l > /var/www/nextcloud/3rdparty/autoload.php For the current problem: sudo -u www-data namei /var/www/nextcloud/3rdparty/autoload.php … will cause the command to

Re: Unexpected permission denied

2023-01-25 Thread Yassine Chaouche
Le 1/25/23 à 2:07 PM, Greg Wooledge a écrit : On Wed, Jan 25, 2023 at 07:34:54AM -0500, Dan Ritter wrote: jeremy ardley wrote: I have vague memories there are more file flags in newer Linux file systems? There are extended attributes, of which the only one you are likely to encounter is

Re: Unexpected permission denied

2023-01-25 Thread Yassine Chaouche
Le 1/25/23 à 8:44 AM, jeremy ardley a écrit : Anyway tree permissions: root@gram01:/# ls -ld var drwxr-xr-x 12 root root 4096 Nov  7 23:30 var root@gram01:/# ls -ld var/www drwxr-xr-x 5 www-data www-data 4096 Jan 23 16:33 var/www root@gram01:/# ls -ld var/www/grammartiste.com/

Re: Unexpected permission denied

2023-01-25 Thread Thomas Schmitt
Hi, jeremy ardley wrote: > > > I have vague memories there are more file flags in newer Linux file > > > systems? Dan Ritter wrote: > > There are extended attributes, [...] > > lsattr and chattr are the relevant commands. Nicolas George wrote: > What you describe are file attributes specific

Re: kernel errors

2023-01-25 Thread Thomas Schmitt
Hi, i wrote: > > If you have some blank optical medium, then try whether the emitter of > > the read attempt can be discouraged if the drive is perceived as offering > > just one block of 2048 bytes. Richmond wrote: > I don't know how to do that. Do you mean make a DVD with 1 block of data?

Re: Unexpected permission denied

2023-01-25 Thread Greg Wooledge
On Wed, Jan 25, 2023 at 07:34:54AM -0500, Dan Ritter wrote: > jeremy ardley wrote: > > I have vague memories there are more file flags in newer Linux file systems? > > There are extended attributes, of which the only one you are > likely to encounter is i, immutable. It is occasionally useful >

Re: Unexpected permission denied

2023-01-25 Thread Nicolas George
Dan Ritter (12023-01-25): > There are extended attributes, of which the only one you are > likely to encounter is i, immutable. It is occasionally useful > to nail down the state of a file even when something properly > has write permissions for it. > > lsattr and chattr are the relevant

Re: Installer le navigateur Tor sur Bullseye 64 bits

2023-01-25 Thread didier gaumet
Le mercredi 25 janvier 2023 à 12:22 +0100, ajh-valmer a écrit : > On Tuesday 24 January 2023 18:55:15 didier gaumet wrote: > > En fait Debian vient de corriger le bug en stable, il n'y a pas de > > nouvelle version du paquet Torbrowser-launcher en stable (parce que > > ce > > bug n'est pas un

Re: EOL and EOS for Debian Softwares

2023-01-25 Thread Dan Ritter
Bushra Perveen wrote: > Hi Team, > > Please provide the EOL and EOS dates for the below mentioned software's. > > > whiptail 0.5 (Linux) > > P11 Glue Utilities 0.2 (Linux) > > virt-what 1 (Linux) > > HTTP Client 6 (Linux) > > virt-what 6 (Linux) > > DStat 0.7 (Linux) If you would like

Re: Unexpected permission denied

2023-01-25 Thread Dan Ritter
jeremy ardley wrote: > I have vague memories there are more file flags in newer Linux file systems? There are extended attributes, of which the only one you are likely to encounter is i, immutable. It is occasionally useful to nail down the state of a file even when something properly has write

Re: kernel errors

2023-01-25 Thread Richmond
"Thomas Schmitt" writes: > I assume that you will see the same result there. lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR MODEL SIZE PHY-SEC LOG-SEC HL-DT-ST HL-DT-ST_DVDRAM_GH15F 1073741312 512 512 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1

KFS: Dotacja do edukacji w biznesie

2023-01-25 Thread Michalina
Dzień dobry, Chciałabym nawiązać z Państwem współpracę w zakresie dotowanych, zamkniętych kursów dla podmiotów gospodarczych i instytucji. Dotacja wynoisi od 80% (10 i więcej zatrudnionych) do 100% (gdy firma zatrudnia poniżej 10 osób). Uprzejmie proszę także potwierdzenie bądź podanie kodu

Re: kernel errors

2023-01-25 Thread piorunz
On 25/01/2023 10:38, Thomas Schmitt wrote: Are users of Debian 10 (actually of kernel 4.19) here who are willing to run lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* directly after booting with empty drive tray ? $ lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR

Re: kernel errors

2023-01-25 Thread Thomas Schmitt
Hi, i wrote: > > Back in 2020 i would quite surely have noticed > > if that behavior had been shown. Richmond wrote: > lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* > VENDOR MODELSIZE PHY-SEC LOG-SEC > TSSTcorp TSSTcorp_DVD+_-RW_TS-L632H 1073741312 512

Re: EOL and EOS for Debian Softwares

2023-01-25 Thread Bushra Perveen
Hi Team, Please provide the EOL and EOS dates for the below mentioned software's. whiptail 0.5 (Linux) P11 Glue Utilities 0.2 (Linux) virt-what 1 (Linux) HTTP Client 6 (Linux) virt-what 6 (Linux) DStat 0.7 (Linux) Thanks, Bushra From: Bushra Perveen Sent:

Re: Installer le navigateur Tor sur Bullseye 64 bits

2023-01-25 Thread ajh-valmer
On Tuesday 24 January 2023 18:55:15 didier gaumet wrote: > En fait Debian vient de corriger le bug en stable, il n'y a pas de > nouvelle version du paquet Torbrowser-launcher en stable (parce que ce > bug n'est pas un problème de sécurité, je suppose) mais a créé un paquet > Torbrowser-launcher

Re: kernel errors

2023-01-25 Thread Richmond
"Thomas Schmitt" writes: > > Are users of Debian 10 (actually of kernel 4.19) here who are willing to > run > lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* > directly after booting with empty drive tray ? lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr* VENDOR MODEL

Re: kernel errors

2023-01-25 Thread Thomas Schmitt
Hi, piorunz wrote: > CD inserted: > $ lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr0 > VENDOR MODEL SIZE PHY-SEC LOG-SEC > hp hp_DVDRW_GUE1N 62765670420482048 > DVD inserted: > $ lsblk -b -o VENDOR,MODEL,SIZE,PHY-SEC,LOG-SEC /dev/sr0 > VENDOR MODEL

Re: kernel errors

2023-01-25 Thread piorunz
On 24/01/2023 18:58, Thomas Schmitt wrote: Hi, the log messages about "unaligned transfer" would be explained if indeed the block size of the drive would be mistaken as 512 bytes rather than 2048 bytes. So it might be interesting to let lsblk report "sector" sizes as perceived by the kernel:

freezing / unstable Debian Testing on MSI Stealth GS77 laptop

2023-01-25 Thread JD
Hello, I'm trying to find some help in order to debug or resolve the issues I'm facing. Hopefully, someone will be able to help me here. The main problem that prevents me from trying to solve it myself is the absence of logs and messages. So, my laptop MSI Stealth GS77 with a Debian

Re: USB enumeration issue

2023-01-25 Thread David
On Wed, 25 Jan 2023 at 14:54, Matthew McAllister wrote: > BTW, this is what the logs contained when the device was last successfully > started. (It is indeed the bluetooth chip; no idea why it's not a PCI device.) > > 2023-01-04T23:44:08.519572-08:00 cockpit kernel: [3.927596] usb 1-5: new

Re: Unexpected permission denied

2023-01-25 Thread tomas
On Wed, Jan 25, 2023 at 03:53:50PM +0800, jeremy ardley wrote: [...] > Rechecked, thanks. The vendor directory didn't have x permissions. Fixed. > Now to track down all the other files similarly afflicted in the screaming > pile of manure called drupal. uh-oh ;-) Cheers & good luck -- t

Re: USB enumeration issue

2023-01-25 Thread Tixy
On Wed, 2023-01-25 at 08:06 +, Tixy wrote: > My final idea: have you used a wireless keyboard or mouse? or wireless headphones.

Re: USB enumeration issue

2023-01-25 Thread Tixy
On Tue, 2023-01-24 at 19:36 -0800, Matthew McAllister wrote: [...] > BTW, this is what the logs contained when the device was last > successfully started. (It is indeed the bluetooth chip; no idea why > it's not a PCI device.) My final idea: have you used a wireless keyboard or mouse? (I'm