91
Général / Re : Samba config
Quel que soit le dossier dans /home/eric2 , un clic droit et propriétés sur un fichier génère l'ouverture d'un popup tel celui au dessus..
- donne quand même un nom de dossier déjà existant, qu'on puisse se baser sur quelque chose qui existe
- essaie de créer un nouveau dossier (avec eric2 bien sûr), regarde ce qu'il en est avec ce nouveau dossier…
- ouvre dolphin en administrateur, et observe s'il y a un changement de comportement
- avec l'utilisateur eric2, tu ouvres un terminal, et tu te logues avec eric (s'il existe encore ??), comme ceci:Code: [Sélectionner]
su - eric
tu rentres le mot de passe de eric, puis tu lances dolphin comme ceci:Code: [Sélectionner]dolphin
La présentation est un peu crade (pas grave), que se passe-t-il si tu vas voir les propriétés d'un dossier ? (surtout, tes anciens) - désinstalle le paquet kdenetwork-filesharing:Code: [Sélectionner]
sudo zypper rm kdenetwork-filesharing
qu'est-ce que ça donne ?
Pour le réinstaller:Code: [Sélectionner]sudo zypper in kdenetwork-filesharing
Je ne suis pas sûr, il y a peut-être quelque chose à creuser avec polkit (ou pas ?). Je vois en gros à quoi cela sert, mais je n'ai jamais trifouiller dedans… Je peux regarder, mais il me faut du temps… dans l'immédiat, nein !!
Quelques informations (pas facile à utiliser sans s'y pencher un temps certain, voir …):
- Code: [Sélectionner]
man polkit
- https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html
- https://wiki.archlinux.org/title/Polkit
polkit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes: It is a framework for centralizing the decision making process with respect to granting access to privileged operations for unprivileged applications.
Polkit is used for controlling system-wide privileges. It provides an organized way for non-privileged processes to communicate with privileged ones. In contrast to systems such as sudo, it does not grant root permission to an entire process, but rather allows a finer level of control of centralized system policy. - org.kde.filesharing.samba.isuserknown est une ligne du fichier xml suivant:
/usr/share/polkit-1/actions/org.kde.filesharing.samba.policy - Code: [Sélectionner]
thierry@toto-PC:~> pkaction -v --action-id org.kde.filesharing.samba.isuserknown
org.kde.filesharing.samba.isuserknown:
description: Is Samba User Known
message: Checking if Samba user exists
vendor: KIO Samba Sharing
vendor_url: https://www.kde.org
icon: preferences-system-network-share-windows
implicit any: no
implicit inactive: yes
implicit active: yes