Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/06/2020, à 09:31

dauphin

[RESOLU] permission denied

Bonjour à toutes et à tous,
Depuis que je suis passé à la version 20 d'Ubuntu je ne peux plus accéder à mes fichiers : "permission denied". J'ai vérifié le propriétaire, c'est "moi". Qui faut-il mettre  comme propriétaire pour y accéder ?
Merci d'avance

Dernière modification par dauphin (Le 26/05/2021, à 15:56)


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#2 Le 07/06/2020, à 09:49

xubu1957

Re : [RESOLU] permission denied

Bonjour,

Tente la commande :

moko138 a écrit :

Merci de montrer :

echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l

_ _ _

Dans > Savoir poser les questions pour obtenir rapidement une réponse...

fin du § 2, dawar a écrit :

Mettez le maximum d'informations dans le titre, c'est ce qui est vu en premier, et décide le lecteur d'ouvrir ou non votre message. Un titre "AIDEZ MOI! La vidéo ne marche pas sur mon portable!" sera bien moins percutant pour nous que "Ecran décalé sur mon portable avec carte vidéo Fooware MV 1005"

Dernière modification par xubu1957 (Le 07/06/2020, à 09:51)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#3 Le 07/06/2020, à 10:01

lool_lauris

Re : [RESOLU] permission denied

Salut,

En principe, tout ce qui est contenu dans /home doit être de ta propriété.
Pour t'en assurer copie et colle cette commande de moko dans un terminal :

echo -e "\n\tNombre d'éléments de mon /home ne m'appartenant pas :"; find ~ -mount \( ! -user $USER -o ! -group $USER \) | wc -l

Et pour y remédier :

sudo chown -Rc $USER:$USER /home/$USER

EDIT : grillé !

Dernière modification par lool_lauris (Le 07/06/2020, à 10:03)


Soutenez le Libre => http://www.april.org/

En ligne

#4 Le 07/06/2020, à 12:27

dauphin

Re : [RESOLU] permission denied

Merci à vous,
J'ai oublié de préciser que les fichiers en question sont sur un disque séparé


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#5 Le 07/06/2020, à 13:47

lool_lauris

Re : [RESOLU] permission denied

Pourrais-tu donner le chemin de ce disque séparé ?


Soutenez le Libre => http://www.april.org/

En ligne

#6 Le 07/06/2020, à 15:57

dauphin

Re : [RESOLU] permission denied

/media/michel/DOSSIERS-UBUNTU/Documents/mon_compte.gsb

Dernière modification par dauphin (Le 07/06/2020, à 15:58)


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#7 Le 07/06/2020, à 16:22

dauphin

Re : [RESOLU] permission denied

voila le réponse :
Nombre d'éléments de mon /home ne m'appartenant pas :
0
Je dois préciser que tous mes doSsiers ont été transférés sur le disque "DOSSIERS-UBUNTU"


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#8 Le 07/06/2020, à 18:01

erresse

Re : [RESOLU] permission denied

Et tu es sûr que les fichiers qui sont dans "DOSSIERS-UBUNTU" appartiennent bien au compte "michel" ?
(Au cas où tu serais passé à la 20.04 en réinstallant plutôt qu'en upgradant... On peut par erreur mal renommer son utilisateur.)


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#9 Le 07/06/2020, à 18:46

dauphin

Re : [RESOLU] permission denied

Merci erresse,
Les fichiers de Dossiers-Ubuntu appartiennent à "Moi"; je pense que c'est ce qui m'empêche de les ouvrir. J'ai effectivement réinstallé ; je ne sais plus comment j'ai renommé l'utilisateur...Que dois-je faire pour remettre de l'ordre?


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#10 Le 07/06/2020, à 20:02

erresse

Re : [RESOLU] permission denied

En fait, je trouve que c'est un problème cette histoire de mettre "moi" comme utilisateur au lieu de l'identification réelle, car on ne sait plus quel est le vrai nom du compte du coup. Et justement, si tu installes deux fois avec des noms différents (un "toto" et un "tata") lorsque tu es connecté au compte, tu ne vois que "moi" dans les deux cas, alors que ce qui appartient à "toto" ne pourra pas être accessible à "tata" !
Je pense que actuellement, tu as l'utilisateur "michel" sur ton système, il faudrait voir quel est le nom du propriétaire des documents :

ls -lA /media/michel/DOSSIERS-UBUNTU/Documents

Si le propriétaire n'est pas "michel", tu sauras pourquoi il ne te sont pas accessibles, il faudra alors forcer la propriété des fichiers pour qu'ils t'appartiennent à nouveau. Je n'ai jamais eu à faire ça, mais je suppose que la commande devrait être :

sudo chown -R michel:michel /media/michel/DOSSIERS-UBUNTU/Documents/*

Note: si je fais erreur, qu'un autre intervenant veuille bien rectifier s.v.p...

Dernière modification par erresse (Le 07/06/2020, à 20:03)


Plus de 50 ans d'informatique, ça en fait des lignes de commandes en console, mais on n'avait pas le choix...
Excellente raison pour, aujourd'hui qu'on le peut, utiliser au maximum les INTERFACES GRAPHIQUES !
Important : Une fois résolu, pensez à clore votre sujet en ajoutant [Résolu] devant le titre du 1er message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Hors ligne

#11 Le 07/06/2020, à 21:51

lool_lauris

Re : [RESOLU] permission denied

Moi je mettrai plutôt :

sudo chown -Rc michel:michel /media/michel/DOSSIERS-UBUNTU/

Soutenez le Libre => http://www.april.org/

En ligne

#12 Le 08/06/2020, à 07:43

dauphin

Re : [RESOLU] permission denied

Merci à vous deux,
le propriétaire "moi" a été mis par le système, j'avais noté "MICHEL
J'ai effectué la commande par un copier-coller pour être sur de ne pa me tromper en copiant
sudo chown -Rc michel:michel /media/michel/DOSSIERS-UBUNTU/
et voici la réponse:

michel@michel-System-Product-Name:~$ sudo chown -Rc michel:michel /media/michel/DOSSIERS-UBUNTU/
[sudo] Mot de passe de michel : 
chown: impossible d'accéder à '/media/michel/DOSSIERS-UBUNTU/': Aucun fichier ou dossier de ce type
michel@michel-System-Product-Name:~$ 
J'ai vérifié le chemin, il est exact. Que se passe-t'il?

Dernière modification par dauphin (Le 08/06/2020, à 15:08)


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#13 Le 08/06/2020, à 08:02

NicoApi73

Re : [RESOLU] permission denied

Bonjour,

Donne le retour de :

cat /etc/passwd
ls -l /media/michel/DOSSIERS-UBUNTU/
ls -l /media
getfacl /media/michel

Hors ligne

#14 Le 08/06/2020, à 08:09

FrancisFDZ

Re : [RESOLU] permission denied

Bonjour
Peut-être en se plaçant d'abord dans le bon répertoire (sans garantie) :

cd /media/michel/DOSSIERS-UBUNTU/
sudo chown -Rc michel:michel *

[Edit] ou plutôt

cd /media/michel/
sudo chown -Rc michel:michel DOSSIERS-UBUNTU

(à confirmer)  [/Edit]

Dernière modification par FrancisFDZ (Le 08/06/2020, à 08:12)


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#15 Le 08/06/2020, à 08:12

NicoApi73

Re : [RESOLU] permission denied

chown ne modifie pas les ACL. Si le problème vient de là, il faut soit passer par setacl, soit supprimer le point de montage

Hors ligne

#16 Le 08/06/2020, à 08:15

FrancisFDZ

Re : [RESOLU] permission denied

NicoApi73 a écrit :

chown ne modifie pas les ACL. Si le problème vient de là, il faut soit passer par setacl, soit supprimer le point de montage

J'ai appris quelque chose : je ne connaissais pas les "ACL". Je pars à la chasse aux infos !

[Edit] Si j'ai bien compris le wiki, ça ne me parait pas indispensable d'activer les ACL [/Edit]

Dernière modification par FrancisFDZ (Le 08/06/2020, à 08:20)


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#17 Le 08/06/2020, à 08:46

dauphin

Re : [RESOLU] permission denied

Je viens de faire

cd /media/michel/
sudo chown -Rc michel:michel DOSSIERS-UBUNTU

la réponse est très longue, je n'en mets qu'un extrait:

appartenance de 'DOSSIERS-UBUNTU/Images/Mornas 7 juillet 2002/Image096.jpg' modifiée de michel:root en michel:michel

J'espère que ça va marcher.

Dernière modification par dauphin (Le 08/06/2020, à 15:09)


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#18 Le 08/06/2020, à 08:51

NicoApi73

Re : [RESOLU] permission denied

FrancisFDZ a écrit :

[Edit] Si j'ai bien compris le wiki, ça ne me parait pas indispensable d'activer les ACL [/Edit]

Pas vraiment smile

Wiki ubuntu-fr a écrit :

(note) : si la partition concernée par le partage est de type ext4 le support des acl est actif par défaut: l'option de montage "acl" a été remplacée par "noacl", qui devient donc celle à utiliser si on veut… désactiver le support des acl.

Hors ligne

#19 Le 08/06/2020, à 08:58

MicP

Re : [RESOLU] permission denied

Bonjour

Tu peux très bien être le propriétaire d'un fichier
et ne pas avoir le droit de le lire ou/et de le modifier ou le supprimer ou/et de l'exécuter

michel@debT450:~$ ls -l monFichierImpossibleD-accès.txt 
---------- 1 michel michel 108 juin   8 08:55 monFichierImpossibleD-accès.txt
michel@debT450:~$ cat monFichierImpossibleD-accès.txt 
cat: monFichierImpossibleD-accès.txt: Permission non accordée
michel@debT450:~$ 

D'où l'intérêt de lancer les lignes de commandes
proposées par NicoApi73 dans son message #13

Dernière modification par MicP (Le 08/06/2020, à 09:20)

Hors ligne

#20 Le 08/06/2020, à 09:05

xubu1957

Re : [RESOLU] permission denied

Bonjour,

dauphin a écrit :

la réponse est très longue, je n'en mets qu'un extrait:

Le 29/03/2018, moko138 a écrit :

Un retour complet doit contenir toutes les lignes,
depuis celle, entière, de la commande
jusqu'à la ligne attendant la commande suivante
, exemple :

moi@mon-pc~$: ma-commande
son retour
moi@mon-pc~$:

Faute de quoi, il manque souvent à ceux qui tentent de t'aider des éléments essentiels.

(Plus de détails dans ce message-ci Retour utilisable de commande.)

Et si tu ne veux pas divulguer ton nom d'user, tu le remplaces par "toto" ou ce que tu veux.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#21 Le 08/06/2020, à 10:23

dauphin

Re : [RESOLU] permission denied

Je viens de tester, ça ne marche pas; même message "acces denied"
et j'ai effectué les lignes de commande du message #13; voila le retour:

michel@michel-System-Product-Name:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-network:x:100:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
systemd-timesync:x:102:104:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:103:106::/nonexistent:/usr/sbin/nologin
syslog:x:104:110::/home/syslog:/usr/sbin/nologin
_apt:x:105:65534::/nonexistent:/usr/sbin/nologin
tss:x:106:111:TPM software stack,,,:/var/lib/tpm:/bin/false
uuidd:x:107:114::/run/uuidd:/usr/sbin/nologin
tcpdump:x:108:115::/nonexistent:/usr/sbin/nologin
avahi-autoipd:x:109:116:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/usr/sbin/nologin
usbmux:x:110:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
rtkit:x:111:117:RealtimeKit,,,:/proc:/usr/sbin/nologin
dnsmasq:x:112:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
cups-pk-helper:x:113:120:user for cups-pk-helper service,,,:/home/cups-pk-helper:/usr/sbin/nologin
speech-dispatcher:x:114:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false
avahi:x:115:121:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/usr/sbin/nologin
kernoops:x:116:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin
saned:x:117:123::/var/lib/saned:/usr/sbin/nologin
nm-openvpn:x:118:124:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin
hplip:x:119:7:HPLIP system user,,,:/run/hplip:/bin/false
whoopsie:x:120:125::/nonexistent:/bin/false
colord:x:121:126:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin
geoclue:x:122:127::/var/lib/geoclue:/usr/sbin/nologin
pulse:x:123:128:PulseAudio daemon,,,:/var/run/pulse:/usr/sbin/nologin
gnome-initial-setup:x:124:65534::/run/gnome-initial-setup/:/bin/false
gdm:x:125:130:Gnome Display Manager:/var/lib/gdm3:/bin/false
michel:x:1000:1000:Michel,,,:/home/michel:/bin/bash
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
michel@michel-System-Product-Name:~$ ls -l /media/michel/DOSSIERS-UBUNTU/
total 41176
-rwxrwxrwx   1 michel michel  1429742 août  28  2019  1065_steganographie.pdf
-rwxrwxr-x   1 michel michel        0 déc.  20  2016  1071_consulter_cadastre.pdf
-rwxrwxrwx   1 michel michel   835880 sept.  1  2019  2535_arnaques_telephone_sms.pdf
drwxrwxrwx   2 michel michel     4096 déc.  13 19:29  Aconvertir
-rwxrwxrwx   1 michel michel   105991 févr.  8  2017  acquittement.pdf
-rwxrwxrwx   1 michel michel   238721 janv.  9  2017 'AG 2017.png'
drwxrwxrwx   2 michel michel     4096 janv. 16  2019  Apicil
drwxr-xr-x   4 michel michel     4096 mai   30 11:34  APK
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Assurances
drwxrwxr-x   8 michel michel     4096 janv.  6  2018 'Astrologie-Signe la Balance_fichiers'
drwxrwxr-x   4 michel michel     4096 sept.  2  2018  Astuces
drwxrwxr-x   2 michel michel     4096 janv.  6  2018  Audio
-rwxrwxrwx   1 michel michel   779264 avril 30  2017  backup.pst
drwxrwxr-x   2 michel michel     4096 déc.  13 19:29 'Bienvenue sur le site du Chèque emploi service universel_fichiers'
-rw-rw-r--   1 michel michel    36966 janv. 28  2017 'Bienvenue sur le site du Chèque emploi service universel.html'
drwxr-xr-x   2 michel michel     4096 mai   30 12:11  Blagues
-rwxrwxrwx   1 michel michel    29016 avril 23  2019 'bookmarks-2019-04-23_181_T4AUFf5vXGQUrjdhn3LkBw==.jsonlz4'
-rwxrwxrwx   1 michel michel    65023 déc.  29 12:23 'Bûche Chocolat, Fève Tonka et Caramel.docx'
drwxr-xr-x   5 michel michel     4096 mai   30 18:02  Bureau
-rw-rw-r--   1 michel michel   301022 janv.  1  2017 'CALENDRIER 2017 (2).pdf'
-rwxrwxrwx   1 michel michel     9087 août   5  2013 'caractères spéciaux.odt'
-rw-r--r--   1 michel michel     3976 avril  3 11:50 "carnet d'adresses"
-rwxrwxrwx   1 michel michel 22206486 sept. 12  2019  Chamonix.zip
-rw-r--r--   1 michel michel    54728 févr.  8 13:49  chants.zip
drwxrwxrwx   5 michel michel     4096 avril  8 11:49  Clairefontaine
drwxrwxr-x   3 michel michel     4096 janv.  6  2018  clé_usb
-rwxrwxrwx   1 michel michel       64 janv. 19  2016 'code opéra.txt'
-rwxrwxrwx   1 michel michel     1932 juil.  1  2018 "Code posté sur le forum des professionnels de l'informatique.txt"
-rwxrwxrwx   1 michel michel     1766 juil.  1  2018 'Code pour importer des contacts.txt'
-rwxrwxr-x   1 michel michel  2576896 oct.  17  2015  cogito_ergo_sum_.pps
-rwxrwxrwx   1 michel michel    52182 mai    3  2018  contacts.txt
-rwxrwxr-x   1 michel michel      113 janv. 22  2015 'Conversion midi > wav'
-rwxrwxr-x   1 michel michel      317 mai   27  2015 'convertisseur WMA &WAV > MP3.txt'
-rw-rw-r--   1 michel michel   342036 janv.  8  2017 'Convocation AG  3 Février 2017.pdf'
-rwxrwxr-x   1 michel michel     1286 juin   8  2015 'corrections site ECML.txt'
drwxrwxrwx   2 michel michel     4096 mai   25 08:42  Courriers
-rw-rw-r--   1 michel michel     5240 févr.  3  2017  CyberPlus_OP_1_20170203111507.qif
drwxrwxr-x   2 michel michel     4096 janv.  6  2018 'débloquer mot de passe Windows'
-rwxrwxr-x   1 michel michel   686905 janv. 18  2017  desactiver_web_cortana.pdf
drwxrwxrwx   4 michel michel     4096 janv.  6  2018  Didier
-rwxrwxr-x   1 michel michel     2286 oct.  28  2015  distraction.txt
drwxrwxr-x  13 michel michel    12288 mai   30 12:20  Divers
drwxr-xr-x   2 michel michel     4096 juin   7 12:13  Documents
-rw-r--r--   1 michel michel    12019 nov.  13  2017  f823020800.jpg
drwxrwxrwx  10 michel michel     4096 mai   30 12:43 'Factures & Relevés'
-rwxrwxr-x   1 michel michel       85 juin  22  2014 'fpt Nautilus.txt'
-rw-rw-r--   1 michel michel    11768 janv.  3  2017 'FUNERAILLES DE Hélène LEFORT.docx'
-rw-rw-r--   1 michel michel      964 janv.  2  2017  Funérailles.txt
-rwxrwxr-x   1 michel michel    20280 avril 20  2015  Garmin-rma-1330598776.pdf
drwxrwxrwx  11 michel michel     4096 janv.  6  2018  Grepa
drwxrwxrwx   2 michel michel     4096 janv.  6  2018 'Gym Monique'
drwxrwxr-x 151 michel michel    32768 mars   7 17:26  Images
drwxr-xr-x   2 michel michel    16384 juin   8 10:02  Images_2
-rwxr-xr-x   1 michel michel       22 mars   3 18:11 'Images Chamonix jean-marc@drewnowski.com(1).zip'
drwxr-xr-x   3 michel michel     4096 juin   8 10:06 'Images suite'
drwxrwxrwx  12 michel michel     4096 mars  30  2018  Impôts
-rwxrwxrwx   1 michel michel   562688 janv. 16  2008  install.exe
-rwxrwxrwx   1 michel michel      843 janv. 16  2008  install.ini
-rwxrwxrwx   1 michel michel      391 mars  28  2009  Inventaire.txt
-rwxrwxrwx   1 michel michel   125286 mars  11  2019  IR-Avis-1MEN-2018-18690724322259.pdf
-rwxrwxrwx   1 michel michel     1467 janv. 31  2018 'KMS Tools Portable 31.12.2016.nfo'
-rw-rw-r--   1 michel michel  2400014 avril  7  2019 'le verre ideal1.mp4'
lrwxrwxrwx   1 michel michel       50 nov.   2  2019 'Lien vers .mozilla' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/.mozilla
lrwxrwxrwx   1 michel michel       49 nov.   3  2019 'Lien vers Musique' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/Musique
lrwxrwxrwx   1 michel michel       56 nov.   3  2019 'Lien vers TELECHARGEMENT' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/TELECHARGEMENT
drwxrwxr-x   4 michel michel     4096 mai   30 12:37  LOGICIELS
drwx------   2 michel michel     4096 janv.  6  2018  lost+found
-rwxrwxrwx   1 michel michel     9728 juin   2 17:41 'Ma letttre.doc'
drwxrwxr-x  48 michel michel    12288 juin   7 09:21  Manuels
-rwxrwxr-x   1 michel michel  1345752 avril 27  2015  Marie.pdf
-rwxrwxr-x   1 michel michel      349 oct.  21  2015  merge
drwxr-xr-x   5 michel michel     4096 janv.  5  2018  MessagesTB
-rwxrwxrwx   1 michel michel  2253017 mai   27 10:12  Mon_compte.gsb
-rwxrwxrwx   1 michel michel   904704 déc.   1  2006  msdia80.dll
drwxrwxr-x  36 michel michel     4096 déc.  13 19:29  Musique
drwxrwxr-x   8 michel michel     4096 avril 30  2016 'Myriad Documents'
drwxrwxr-x   2 michel michel    12288 févr.  8 13:48  nwc
drwxrwxr-x   2 michel michel     4096 mai   30 12:40  Partitions
drwxrwxr-x  16 michel michel     4096 mai   30 12:43  PDF
-rwxrwxrwx   1 michel michel        0 déc.  10  2017  photorec.ses
-rw-rw-r--   1 michel michel    65313 janv.  1  2017 'Pieces Succession.doc'
-rwxrwxr-x   1 michel michel    59843 oct.  29  2015 'polenta sucrée'
drwxr-xr-x   8 michel michel     4096 déc.  13 19:29 'POUR  INSTALLATION'
-rwxrwxrwx   1 michel michel    19968 janv. 28  2019 'Programme de Givors.doc'
drwxr-xr-x   4 michel michel     4096 mai   30 12:45  PROVISOIRE
drwxrwxr-x   2 michel michel     4096 avril 30  2016  Public
-rw-rw-r--   1 michel michel    10752 janv.  3  2017  P.U.doc
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Rando
drwxrwxrwx   9 michel michel     4096 juin   6 16:30  Recettes
-rwxrwxr-x   1 michel michel   112512 oct.  29  2015 "- Recettes - Dans la peau d'un chef - France 2.html"
-rwxrwxrwx   1 michel michel        0 avril 19  2018  Recovery.txt
drwxrwxr-x   2 michel michel     4096 janv.  5  2018 'Réparer un disque passé en RAW_fichiers'
-rwxrwxr-x   1 michel michel   203007 déc.  15  2013 'Rhône | Lyon, ville lumière.html'
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Scrabble
-rwxrwxr-x   1 michel michel  1545216 sept.  5  2015 'Si_seulement BOUD.pps'
drwxrwxr-x   7 michel michel     4096 mai   30 12:48  Sites_Web
drwxrwxr-x   2 michel michel     4096 sept. 14  2017  Stellarium
drwxr-xr-x   4 michel michel     4096 mai   31 10:49  TELECHARGEMENT
drwxrwxr-x   4 michel michel     4096 déc.  13 19:29  testdisk-6.13-WIP
-rwxrwxr-x   1 michel michel    68348 juin   7  2015  testdisk.log
drwxrwxrwx   6 michel michel     4096 juin   7 10:09  Thunderbird
-rwxrwxr-x   1 michel michel   119765 juin  25  2015  Validation.rtf
drwxrwxr-x   8 michel michel     4096 déc.  13 19:29  Vidéos
-rwxrwxr-x   1 michel michel  2169856 oct.  17  2015 'zozios politique 04 201512.pps'
michel@michel-System-Product-Name:~$ ls -l /media
total 4
drwxr-x---+ 6 root root 4096 juin   8 10:08 michel
michel@michel-System-Product-Name:~$ getfacl /media/michel

20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#22 Le 08/06/2020, à 10:26

NicoApi73

Re : [RESOLU] permission denied

Il manque le retour de la dernière commande

Hors ligne

#23 Le 08/06/2020, à 10:50

dauphin

Re : [RESOLU] permission denied

#NicoApi73
De quel retour parles-tu?  Si c'est celui de la commande #13, il n'y a rien d'autre


20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne

#24 Le 08/06/2020, à 11:16

NicoApi73

Re : [RESOLU] permission denied

Il n'y a pas le retour de :

getfacl /media/michel

uniquement la commande qui ne nous apprend rien...

Hors ligne

#25 Le 08/06/2020, à 11:21

dauphin

Re : [RESOLU] permission denied

Voilà

michel@michel-System-Product-Name:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-network:x:100:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:101:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
systemd-timesync:x:102:104:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:103:106::/nonexistent:/usr/sbin/nologin
syslog:x:104:110::/home/syslog:/usr/sbin/nologin
_apt:x:105:65534::/nonexistent:/usr/sbin/nologin
tss:x:106:111:TPM software stack,,,:/var/lib/tpm:/bin/false
uuidd:x:107:114::/run/uuidd:/usr/sbin/nologin
tcpdump:x:108:115::/nonexistent:/usr/sbin/nologin
avahi-autoipd:x:109:116:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/usr/sbin/nologin
usbmux:x:110:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
rtkit:x:111:117:RealtimeKit,,,:/proc:/usr/sbin/nologin
dnsmasq:x:112:65534:dnsmasq,,,:/var/lib/misc:/usr/sbin/nologin
cups-pk-helper:x:113:120:user for cups-pk-helper service,,,:/home/cups-pk-helper:/usr/sbin/nologin
speech-dispatcher:x:114:29:Speech Dispatcher,,,:/run/speech-dispatcher:/bin/false
avahi:x:115:121:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/usr/sbin/nologin
kernoops:x:116:65534:Kernel Oops Tracking Daemon,,,:/:/usr/sbin/nologin
saned:x:117:123::/var/lib/saned:/usr/sbin/nologin
nm-openvpn:x:118:124:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/usr/sbin/nologin
hplip:x:119:7:HPLIP system user,,,:/run/hplip:/bin/false
whoopsie:x:120:125::/nonexistent:/bin/false
colord:x:121:126:colord colour management daemon,,,:/var/lib/colord:/usr/sbin/nologin
geoclue:x:122:127::/var/lib/geoclue:/usr/sbin/nologin
pulse:x:123:128:PulseAudio daemon,,,:/var/run/pulse:/usr/sbin/nologin
gnome-initial-setup:x:124:65534::/run/gnome-initial-setup/:/bin/false
gdm:x:125:130:Gnome Display Manager:/var/lib/gdm3:/bin/false
michel:x:1000:1000:Michel,,,:/home/michel:/bin/bash
systemd-coredump:x:999:999:systemd Core Dumper:/:/usr/sbin/nologin
michel@michel-System-Product-Name:~$ ls -l /media/michel/DOSSIERS-UBUNTU/
total 41176
-rwxrwxrwx   1 michel michel  1429742 août  28  2019  1065_steganographie.pdf
-rwxrwxr-x   1 michel michel        0 déc.  20  2016  1071_consulter_cadastre.pdf
-rwxrwxrwx   1 michel michel   835880 sept.  1  2019  2535_arnaques_telephone_sms.pdf
drwxrwxrwx   2 michel michel     4096 déc.  13 19:29  Aconvertir
-rwxrwxrwx   1 michel michel   105991 févr.  8  2017  acquittement.pdf
-rwxrwxrwx   1 michel michel   238721 janv.  9  2017 'AG 2017.png'
drwxrwxrwx   2 michel michel     4096 janv. 16  2019  Apicil
drwxr-xr-x   4 michel michel     4096 mai   30 11:34  APK
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Assurances
drwxrwxr-x   8 michel michel     4096 janv.  6  2018 'Astrologie-Signe la Balance_fichiers'
drwxrwxr-x   4 michel michel     4096 sept.  2  2018  Astuces
drwxrwxr-x   2 michel michel     4096 janv.  6  2018  Audio
-rwxrwxrwx   1 michel michel   779264 avril 30  2017  backup.pst
drwxrwxr-x   2 michel michel     4096 déc.  13 19:29 'Bienvenue sur le site du Chèque emploi service universel_fichiers'
-rw-rw-r--   1 michel michel    36966 janv. 28  2017 'Bienvenue sur le site du Chèque emploi service universel.html'
drwxr-xr-x   2 michel michel     4096 mai   30 12:11  Blagues
-rwxrwxrwx   1 michel michel    29016 avril 23  2019 'bookmarks-2019-04-23_181_T4AUFf5vXGQUrjdhn3LkBw==.jsonlz4'
-rwxrwxrwx   1 michel michel    65023 déc.  29 12:23 'Bûche Chocolat, Fève Tonka et Caramel.docx'
drwxr-xr-x   5 michel michel     4096 mai   30 18:02  Bureau
-rw-rw-r--   1 michel michel   301022 janv.  1  2017 'CALENDRIER 2017 (2).pdf'
-rwxrwxrwx   1 michel michel     9087 août   5  2013 'caractères spéciaux.odt'
-rw-r--r--   1 michel michel     3976 avril  3 11:50 "carnet d'adresses"
-rwxrwxrwx   1 michel michel 22206486 sept. 12  2019  Chamonix.zip
-rw-r--r--   1 michel michel    54728 févr.  8 13:49  chants.zip
drwxrwxrwx   5 michel michel     4096 avril  8 11:49  Clairefontaine
drwxrwxr-x   3 michel michel     4096 janv.  6  2018  clé_usb
-rwxrwxrwx   1 michel michel       64 janv. 19  2016 'code opéra.txt'
-rwxrwxrwx   1 michel michel     1932 juil.  1  2018 "Code posté sur le forum des professionnels de l'informatique.txt"
-rwxrwxrwx   1 michel michel     1766 juil.  1  2018 'Code pour importer des contacts.txt'
-rwxrwxr-x   1 michel michel  2576896 oct.  17  2015  cogito_ergo_sum_.pps
-rwxrwxrwx   1 michel michel    52182 mai    3  2018  contacts.txt
-rwxrwxr-x   1 michel michel      113 janv. 22  2015 'Conversion midi > wav'
-rwxrwxr-x   1 michel michel      317 mai   27  2015 'convertisseur WMA &WAV > MP3.txt'
-rw-rw-r--   1 michel michel   342036 janv.  8  2017 'Convocation AG  3 Février 2017.pdf'
-rwxrwxr-x   1 michel michel     1286 juin   8  2015 'corrections site ECML.txt'
drwxrwxrwx   2 michel michel     4096 mai   25 08:42  Courriers
-rw-rw-r--   1 michel michel     5240 févr.  3  2017  CyberPlus_OP_1_20170203111507.qif
drwxrwxr-x   2 michel michel     4096 janv.  6  2018 'débloquer mot de passe Windows'
-rwxrwxr-x   1 michel michel   686905 janv. 18  2017  desactiver_web_cortana.pdf
drwxrwxrwx   4 michel michel     4096 janv.  6  2018  Didier
-rwxrwxr-x   1 michel michel     2286 oct.  28  2015  distraction.txt
drwxrwxr-x  13 michel michel    12288 mai   30 12:20  Divers
drwxr-xr-x   2 michel michel     4096 juin   7 12:13  Documents
-rw-r--r--   1 michel michel    12019 nov.  13  2017  f823020800.jpg
drwxrwxrwx  10 michel michel     4096 mai   30 12:43 'Factures & Relevés'
-rwxrwxr-x   1 michel michel       85 juin  22  2014 'fpt Nautilus.txt'
-rw-rw-r--   1 michel michel    11768 janv.  3  2017 'FUNERAILLES DE Hélène LEFORT.docx'
-rw-rw-r--   1 michel michel      964 janv.  2  2017  Funérailles.txt
-rwxrwxr-x   1 michel michel    20280 avril 20  2015  Garmin-rma-1330598776.pdf
drwxrwxrwx  11 michel michel     4096 janv.  6  2018  Grepa
drwxrwxrwx   2 michel michel     4096 janv.  6  2018 'Gym Monique'
drwxrwxr-x 151 michel michel    32768 mars   7 17:26  Images
drwxr-xr-x   2 michel michel    16384 juin   8 10:02  Images_2
-rwxr-xr-x   1 michel michel       22 mars   3 18:11 'Images Chamonix jean-marc@drewnowski.com(1).zip'
drwxr-xr-x   3 michel michel     4096 juin   8 10:06 'Images suite'
drwxrwxrwx  12 michel michel     4096 mars  30  2018  Impôts
-rwxrwxrwx   1 michel michel   562688 janv. 16  2008  install.exe
-rwxrwxrwx   1 michel michel      843 janv. 16  2008  install.ini
-rwxrwxrwx   1 michel michel      391 mars  28  2009  Inventaire.txt
-rwxrwxrwx   1 michel michel   125286 mars  11  2019  IR-Avis-1MEN-2018-18690724322259.pdf
-rwxrwxrwx   1 michel michel     1467 janv. 31  2018 'KMS Tools Portable 31.12.2016.nfo'
-rw-rw-r--   1 michel michel  2400014 avril  7  2019 'le verre ideal1.mp4'
lrwxrwxrwx   1 michel michel       50 nov.   2  2019 'Lien vers .mozilla' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/.mozilla
lrwxrwxrwx   1 michel michel       49 nov.   3  2019 'Lien vers Musique' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/Musique
lrwxrwxrwx   1 michel michel       56 nov.   3  2019 'Lien vers TELECHARGEMENT' -> /mnt/96cdce64-905a-4716-b588-b9ad50c8439c/TELECHARGEMENT
drwxrwxr-x   4 michel michel     4096 mai   30 12:37  LOGICIELS
drwx------   2 michel michel     4096 janv.  6  2018  lost+found
-rwxrwxrwx   1 michel michel     9728 juin   2 17:41 'Ma letttre.doc'
drwxrwxr-x  48 michel michel    12288 juin   7 09:21  Manuels
-rwxrwxr-x   1 michel michel  1345752 avril 27  2015  Marie.pdf
-rwxrwxr-x   1 michel michel      349 oct.  21  2015  merge
drwxr-xr-x   5 michel michel     4096 janv.  5  2018  MessagesTB
-rwxrwxrwx   1 michel michel  2253017 mai   27 10:12  Mon_compte.gsb
-rwxrwxrwx   1 michel michel   904704 déc.   1  2006  msdia80.dll
drwxrwxr-x  36 michel michel     4096 déc.  13 19:29  Musique
drwxrwxr-x   8 michel michel     4096 avril 30  2016 'Myriad Documents'
drwxrwxr-x   2 michel michel    12288 févr.  8 13:48  nwc
drwxrwxr-x   2 michel michel     4096 mai   30 12:40  Partitions
drwxrwxr-x  16 michel michel     4096 mai   30 12:43  PDF
-rwxrwxrwx   1 michel michel        0 déc.  10  2017  photorec.ses
-rw-rw-r--   1 michel michel    65313 janv.  1  2017 'Pieces Succession.doc'
-rwxrwxr-x   1 michel michel    59843 oct.  29  2015 'polenta sucrée'
drwxr-xr-x   8 michel michel     4096 déc.  13 19:29 'POUR  INSTALLATION'
-rwxrwxrwx   1 michel michel    19968 janv. 28  2019 'Programme de Givors.doc'
drwxr-xr-x   4 michel michel     4096 mai   30 12:45  PROVISOIRE
drwxrwxr-x   2 michel michel     4096 avril 30  2016  Public
-rw-rw-r--   1 michel michel    10752 janv.  3  2017  P.U.doc
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Rando
drwxrwxrwx   9 michel michel     4096 juin   6 16:30  Recettes
-rwxrwxr-x   1 michel michel   112512 oct.  29  2015 "- Recettes - Dans la peau d'un chef - France 2.html"
-rwxrwxrwx   1 michel michel        0 avril 19  2018  Recovery.txt
drwxrwxr-x   2 michel michel     4096 janv.  5  2018 'Réparer un disque passé en RAW_fichiers'
-rwxrwxr-x   1 michel michel   203007 déc.  15  2013 'Rhône | Lyon, ville lumière.html'
drwxrwxrwx   2 michel michel     4096 janv.  6  2018  Scrabble
-rwxrwxr-x   1 michel michel  1545216 sept.  5  2015 'Si_seulement BOUD.pps'
drwxrwxr-x   7 michel michel     4096 mai   30 12:48  Sites_Web
drwxrwxr-x   2 michel michel     4096 sept. 14  2017  Stellarium
drwxr-xr-x   4 michel michel     4096 mai   31 10:49  TELECHARGEMENT
drwxrwxr-x   4 michel michel     4096 déc.  13 19:29  testdisk-6.13-WIP
-rwxrwxr-x   1 michel michel    68348 juin   7  2015  testdisk.log
drwxrwxrwx   6 michel michel     4096 juin   7 10:09  Thunderbird
-rwxrwxr-x   1 michel michel   119765 juin  25  2015  Validation.rtf
drwxrwxr-x   8 michel michel     4096 déc.  13 19:29  Vidéos
-rwxrwxr-x   1 michel michel  2169856 oct.  17  2015 'zozios politique 04 201512.pps'
michel@michel-System-Product-Name:~$ ls -l /media
total 4
drwxr-x---+ 6 root root 4096 juin   8 10:08 michel
michel@michel-System-Product-Name:~$ getfacl /media/michel
getfacl : suppression du premier « / » des noms de chemins absolus
# file: media/michel
# owner: root
# group: root
user::rwx
user:michel:r-x
group::---
mask::r-x
other::---

michel@michel-System-Product-Name:~$ 
michel@michel-System-Product-Name:~$ 

20.04 sur carte Asus M5 et proc AMD64 2000 8GO de Ram
Video et son intégrés

Hors ligne