[Cinnamon] problème de permissions

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
mimile
Maître du Kyudo
Messages : 1507
Inscription : lun. 14 nov. 2011, 10:21
Localisation : Seraing (Belgique)

[Cinnamon] problème de permissions

Message par mimile »

Bonjour,

Contexte : Archlinux - Cinnamon

Dans mon dossier /media, il y a 3 partitions NTFS de stockage de films, mp3, etc... (Stock1, Stock2 et Stock3) et quand j'examine leurs permissions, je vois ceci :

Image
:
Lors du boot, ces 3 partitions sont montées puisqu'elles se trouvent dans /media et j'ai fait en sorte qu'elles soient affichées sur le bureau.

Problème : quand j'examine leurs permissions, j'ai en réponse : "les permissions de "Stock2" n'ont pas pu être déterminées" et quand je sollicite l'aide, j'ai "La page « nemo-file-properties-permissions » n'a pas été trouvée dans le document « help:gnome-help ».

C'est incohérent.

Qu'est-ce qui pourrait bien justifier cela ?
La TV ? J'adore la TV. Je peux rester des heures devant la TV ... et même, parfois, il m'arrive de l'allumer ...
Image
(Jean-Luc GODARD)
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17222
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Cinnamon] problème de permissions

Message par benjarobin »

Bonjour,
Comment as tu monté ces partitions ? Quel est le contenu du fstab ?
Quel est la sortie en root de :

Code : Tout sélectionner

ls -la /media
 ls -la /media/*
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
mimile
Maître du Kyudo
Messages : 1507
Inscription : lun. 14 nov. 2011, 10:21
Localisation : Seraing (Belgique)

Re: [Cinnamon] problème de permissions

Message par mimile »

Bonjour :

Mon fstab :

Code : Tout sélectionner

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>

# /dev/sda5 (racine)
UUID=122af965-b8c2-4a6b-bfec-304d66200641	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda6 (home)
UUID=ba8cbdcf-b36f-4fff-bc43-3b167678cb87	/home     	ext4      	rw,relatime,data=ordered	0 2

# /dev/sda8 (swap)
UUID=d36f3144-4c6d-430e-9275-b8da523d3260	none      	swap      	defaults  		0 	0

# /dev/sda1 (Windows 7)
UUID=70CCF2F90F3ED419		/media/Win_7	ntfs-3g		uid=1000,gid=100,dmask=022,fmask=133	0	0

# /dev/sdb1
UUID=AAF88143F8810F2F        	/media/Stock0   ntfs-3g      	uid=1000,gid=100,dmask=022,fmask=133   	0 	0

# /dev/sda2 
UUID=36979DE033C1E3C6		/media/Stock1	ntfs-3g		uid=1000,gid=100,dmask=022,fmask=133	0	0

# /dev/sda3 
UUID=2DD62FCB06E39190		/media/Stock2	ntfs-3g      	uid=1000,gid=100,dmask=022,fmask=133   	0 	0

# /dev/sdb5 (Jessie root)
#UUID=1c643827-d0fd-4bd4-a0f8-5ea0a1a32fdc	/media/Jessie_root	ext4		rw,relatime,data=ordered

# /dev/sdb6 (Jessie home)
#UUID=3dcda37a-d73c-458b-a46d-8093b965303a	/media/Jessie		ext4		rw,relatime,data=ordered

Code : Tout sélectionner

[okapi@Archie Bureau]$ ls -la /media
total 76
drwxr-xr-x 13 root  root   4096 13 mai  2016 .
drwxr-xr-x 21 root  root   4096  1 avr 11:28 ..
drwxr-xr-x  2 root  root   4096 22 jun  2013 Cinema
drwxr-xr-x  2 root  root   4096  8 oct  2015 Jessie
drwxr-xr-x  2 root  root   4096 15 mai  2015 Jessie_home
drwxr-xr-x  2 root  root   4096 15 mai  2015 Jessie_root
drwxr-xr-x  1 okapi users 12288 16 jun 15:05 Stock0
drwxr-xr-x  1 okapi users  8192 16 jun 15:05 Stock1
drwxr-xr-x  1 okapi users  4096 16 jun 15:05 Stock2
drwxr-xr-x  2 root  root   4096 13 mai  2016 Stock3
drwxr-xr-x  2 root  root   4096 16 jun  2013 Wheezy
drwxr-xr-x  2 root  root   4096 16 sep  2013 Wheezy_root
drwxr-xr-x  1 okapi users 16384 16 jun 15:05 Win_7
[okapi@Archie Bureau]$ 

Code : Tout sélectionner

[okapi@Archie Bureau]$ ls -la /media/*
/media/Cinema:
total 8
drwxr-xr-x  2 root root 4096 22 jun  2013 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Jessie:
total 8
drwxr-xr-x  2 root root 4096  8 oct  2015 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Jessie_home:
total 8
drwxr-xr-x  2 root root 4096 15 mai  2015 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Jessie_root:
total 8
drwxr-xr-x  2 root root 4096 15 mai  2015 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Stock0:
total 5480209
drwxr-xr-x  1 okapi users      12288 16 jun 15:05  .
drwxr-xr-x 13 root  root        4096 13 mai  2016  ..
drwxr-xr-x  1 okapi users       8192 27 aoû  2011  Asterix
drwxr-xr-x  1 okapi users       8192 27 mai  2013  Band_of_Brothers
drwxr-xr-x  1 okapi users      86016 19 jun 16:40  Cinema
drwxr-xr-x  1 okapi users          0 16 mai  2015  found.000
drwxr-xr-x  1 okapi users       4096 30 jan  2014  Fun
-rw-r--r--  1 okapi users      23592  4 oct  2015  hp-officejet_6300_series-hpijs.ppd
-rw-r--r--  1 okapi users       4285 22 sep  2015  hp-officejet_6300_series-hpijs.ppd.gz
drwxr-xr-x  1 okapi users       4096 27 mai  2013  JAG
-rw-r--r--  1 okapi users     154528 10 oct  2014  KDE-Sys-Log-In-Short.ogg
-rw-r--r--  1 okapi users      48592 10 oct  2014  KDE-Sys-Log-Out.ogg
drwxr-xr-x  1 okapi users       4096  8 jun  2013 'La bataille de france'
drwxr-xr-x  1 okapi users          0 21 oct  2014  Lagaffe
-rw-r--r--  1 okapi users     525728  6 oct  2015  libfreshwrapper-flashplayer.so
-rw-r--r--  1 okapi users     512640 30 aoû  2015  libfreshwrapper-pepperflash.so
-rw-r--r--  1 okapi users   17547520 27 sep  2015  libpepflashplayer.so
drwxr-xr-x  1 okapi users      24576 11 avr  2016  Mes_Images
drwxr-xr-x  1 okapi users       4096 18 sep  2016 'Mes sources de données'
drwxr-xr-x  1 okapi users      40960 24 mar 16:43  Mes_téléchargements
drwxr-xr-x  1 okapi users    1572864 19 fév 13:43  mes_textes
drwxr-xr-x  1 okapi users      16384  1 jan  2016  MP3
drwxr-xr-x  1 okapi users       4096 21 sep  2016  NCIS
-rw-r--r--  1 okapi users       5627 20 oct  2015  nouveau
-rw-r--r--  1 okapi users 5591007232 22 jun 06:46  pagefile.sys
drwxr-xr-x  1 okapi users       4096 11 nov  2015  Photos_Martine
drwxr-xr-x  1 okapi users      20480 20 jan  2015  Poirot
drwxr-xr-x  1 okapi users       4096 19 mai  2013 '$RECYCLE.BIN'
-rw-r--r--  1 okapi users       1240 21 nov  2014  system-lock-screen.png
-rw-r--r--  1 okapi users       1471 21 nov  2014  system-log-out.png
-rw-r--r--  1 okapi users       1456 21 nov  2014  system-shutdown.png
drwxr-xr-x  1 okapi users          0 27 avr  2015 'System Volume Information'
drwxr-xr-x  1 okapi users      16384  7 sep  2013  tests
drwxr-xr-x  1 okapi users      16384  1 sep  2013  tests_old
drwxr-xr-x  1 okapi users       4096 27 mai  2013 'The Pacific'
drwxr-xr-x  1 okapi users          0 20 aoû  2015  .Trash-1000
-rw-r--r--  1 okapi users         40 14 oct  2015 'URI 1020'
drwxr-xr-x  1 okapi users      12288 24 nov  2014  Videoclips
-rw-r--r--  1 okapi users          2 22 sep  2015  .windows-serial

/media/Stock1:
total 18845
drwxr-xr-x  1 okapi users    8192 16 jun 15:05  .
drwxr-xr-x 13 root  root     4096 13 mai  2016  ..
drwxr-xr-x  1 okapi users    4096  3 jan  2016  Apocalypse
drwxr-xr-x  1 okapi users    4096  3 jan  2016  Apocalypse_WW1
drwxr-xr-x  1 okapi users    8192 29 jun  2015  Asterix
-rw-r--r--  2 okapi users  368908 12 jan  2014  bookmarks.html
drwxr-xr-x  1 okapi users    4096  3 jan  2016  Disney
-rw-r--r--  1 okapi users     512 21 mai  2014  hbedv.key
drwxr-xr-x  1 okapi users    4096  5 mai 17:04  Images_iso
drwxr-xr-x  1 okapi users       0 11 déc  2014  Lagaffe
drwxr-xr-x  1 okapi users    4096  3 jan  2016  Lost
drwxr-xr-x  1 okapi users       0 19 mai  2015  PCSC
drwxr-xr-x  1 okapi users       0  2 jun  2013 '$RECYCLE.BIN'
drwxr-xr-x  1 okapi users       0 16 jui  2013  sauvegarde_pass32
-rw-r--r--  2 okapi users    7268 16 nov  2013  signature1.html
drwxr-xr-x  1 okapi users       0  1 jun  2013 'System Volume Information'
-rw-r--r--  1 okapi users     253 25 avr 17:22 'touches magiques.txt'
-rw-r--r--  1 okapi users 8901120 12 nov  2014  vlc-2.1.5-5-x86_64.pkg.tar.xz
-rw-r--r--  1 okapi users 9964296 10 nov  2015  vlc-2.2.1-9-x86_64.pkg.tar.xz
-rw-r--r--  1 okapi users       2 22 sep  2015  .windows-serial

/media/Stock2:
total 105
drwxr-xr-x  1 okapi users  4096 16 jun 15:05  .
drwxr-xr-x 13 root  root   4096 13 mai  2016  ..
-rw-r--r--  1 okapi users  2982  3 jun 17:16  Arch
drwxr-xr-x  1 okapi users 32768 31 mar 17:08  NCIS_L.A.
drwxr-xr-x  1 okapi users  4096 10 mar 04:45  NCIS_LA_1
drwxr-xr-x  1 okapi users  4096 12 mar 23:46  NCIS_LA_2
drwxr-xr-x  1 okapi users  8192  5 mar 16:56  NCIS_LA_3
drwxr-xr-x  1 okapi users  4096 20 jun 20:09  NCIS_LA_4
drwxr-xr-x  1 okapi users  8192 24 mar 15:57  NCIS_LA_5
drwxr-xr-x  1 okapi users  8192  1 jun 20:23  NCIS_LA_6
drwxr-xr-x  1 okapi users  4096  2 avr 21:26  NCIS_LA_7
drwxr-xr-x  1 okapi users  4096 14 avr 17:21  NCIS_LA_8
drwxr-xr-x  1 okapi users  4096  7 mai 20:33  NCIS_N_O-1
drwxr-xr-x  1 okapi users  4096 17 mai 17:18  NCIS_N_O-2
drwxr-xr-x  1 okapi users  4096 13 mai 15:39  NCIS_N_O-3
drwxr-xr-x  1 okapi users     0 25 mai  2015 '$RECYCLE.BIN'
drwxr-xr-x  1 okapi users     0  1 jun  2013 'System Volume Information'
drwxr-xr-x  1 okapi users     0  5 mar 16:42  .Trash-1000
drwxr-xr-x  1 okapi users  4096 24 déc  2015 'VirtualBox VMs'
-rw-r--r--  1 okapi users     2 22 sep  2015  .windows-serial

/media/Stock3:
total 8
drwxr-xr-x  2 root root 4096 13 mai  2016 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Wheezy:
total 8
drwxr-xr-x  2 root root 4096 16 jun  2013 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Wheezy_root:
total 8
drwxr-xr-x  2 root root 4096 16 sep  2013 .
drwxr-xr-x 13 root root 4096 13 mai  2016 ..

/media/Win_7:
total 2731939
drwxr-xr-x  1 okapi users      16384 16 jun 15:05  .
drwxr-xr-x 13 root  root        4096 13 mai  2016  ..
drwxr-xr-x  1 okapi users       4096 27 mai  2016  AdwCleaner
drwxr-xr-x  1 okapi users       4096  8 mar  2015 'archive Arch'
drwxr-xr-x  1 okapi users          0  2 jan  2014  archive_db
-rw-r--r--  1 okapi users         24 10 jun  2009  autoexec.bat
-rw-r--r--  2 okapi users         30 30 oct  2015  AVScanner.ini
-rw-r--r--  1 okapi users     378267 23 nov  2014  bookmarks.html
drwxr-xr-x  1 okapi users       4096 16 oct  2016  Boot
-rw-r--r--  1 okapi users     399860 23 mar  2016  bootmgr
-rw-r--r--  1 okapi users       8192 19 mai  2013  BOOTSECT.BAK
drwxr-xr-x  1 okapi users          0 21 mai  2013 'Borland International Copyright 1996'
drwxr-xr-x  1 okapi users       4096 22 mai  2013  COCD4000
drwxr-xr-x  1 okapi users          0 16 jun 15:09  Config.Msi
-rw-r--r--  1 okapi users         10 10 jun  2009  config.sys
lrwxrwxrwx  2 okapi users         18 14 jui  2009 'Documents and Settings' -> /media/Win_7/Users
drwxr-xr-x  1 okapi users       8192 25 mar  2015  drivers
drwxr-xr-x  1 okapi users     131072 21 mai  2013  Fonts
-rw-r--r--  1 okapi users 2795778048 22 jun 06:46  hiberfil.sys
drwxr-xr-x  1 okapi users          0 16 oct  2016 'HP Universal Print Driver'
drwxr-xr-x  1 okapi users          0 19 mai  2013  Intel
-rw-r--r--  1 okapi users          0 22 mai  2013  IO.SYS
-rw-r--r--  1 okapi users          0 22 mai  2013  MSDOS.SYS
drwxr-xr-x  1 okapi users          0 19 mai  2013  MSOCache
drwxr-xr-x  1 okapi users          0 19 mai  2013  NVIDIA
drwxr-xr-x  1 okapi users       4096 15 avr 16:50  ORGA0025
drwxr-xr-x  1 okapi users      12288 20 jun 20:01  ProgramData
drwxr-xr-x  1 okapi users      24576 30 avr 11:11 'Program Files'
drwxr-xr-x  1 okapi users          0 19 mai  2013  Recovery
drwxr-xr-x  1 okapi users          0 19 mai  2013 '$Recycle.Bin'
drwxr-xr-x  1 okapi users          0 30 mai 16:45 'Revo 2.5.5'
-rw-r--r--  2 okapi users     645600 31 jui  2015  SecurityScanner.dll
drwxr-xr-x  1 okapi users      20480 22 jun 06:54 'System Volume Information'
drwxr-xr-x  1 okapi users       8192 20 aoû  2015  Téléchargements
-rw-r--r--  1 okapi users        925  7 jan  2015  tmp1
-rw-r--r--  1 okapi users        128  7 jan  2015  tmp2
drwxr-xr-x  1 okapi users       4096  5 mar  2015  Users
drwxr-xr-x  1 okapi users       4096 26 oct  2014  wamp
drwxr-xr-x  1 okapi users      24576 16 jun 15:06  Windows
-rw-r--r--  1 okapi users          2 22 sep  2015  .windows-serial
drwxr-xr-x  1 okapi users       4096 19 fév 14:20  Z
[okapi@Archie Bureau]$ 
La TV ? J'adore la TV. Je peux rester des heures devant la TV ... et même, parfois, il m'arrive de l'allumer ...
Image
(Jean-Luc GODARD)
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17222
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Cinnamon] problème de permissions

Message par benjarobin »

Si tu n'as pas d'autres problèmes que ce message d'erreur, je suppute que c'est un bug de Cinnamon
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
mimile
Maître du Kyudo
Messages : 1507
Inscription : lun. 14 nov. 2011, 10:21
Localisation : Seraing (Belgique)

Re: [Cinnamon] problème de permissions

Message par mimile »

Carrément d'accord avec toi.

Par moment, je constate que ma partition Cinema est vide ... et le proprio est root !

Donc, je chown pour me l'approprier.

Il apparaît maintenant comme m'appartenant mais toujours vide.

Ca me fait ch... vu qu'il y avait au mois 200 films dans ce répertoire (pas téléchargés, j'ai les CD/DVD).

Je branche mon DD externe (ouf) et j'entreprends de rebalancer le tout sur mon PC.

Avant cela, je vérifie une dernière fois et voilà que tous mes films sont revenus comme par miracle ...

Je n'y comprends plus rien ... (tu penseras probablement que ce ne t'étonne pas de ma part, mais quand même ...)

Donc problème résolu ... mais jusque-z'à quand ?

Merci quand même pour ton intervention ...

Amicalement
La TV ? J'adore la TV. Je peux rester des heures devant la TV ... et même, parfois, il m'arrive de l'allumer ...
Image
(Jean-Luc GODARD)
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17222
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Cinnamon] problème de permissions

Message par benjarobin »

A moins que j'oublie quelque chose, mais il n'y a pas de partition Cinema, il y a un dossier /media/Cinema...

Donc à moins d'une magie quelconque il y a comme un problème ici... La partition Cinema n'est pas déclaré dans le fstab.

C'est quoi qui est monté dans /media/Cinema pour toi ? Quelle est la sortie de mount ?
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
mimile
Maître du Kyudo
Messages : 1507
Inscription : lun. 14 nov. 2011, 10:21
Localisation : Seraing (Belgique)

Re: [Cinnamon] problème de permissions

Message par mimile »

C'était un lapsus de ma part : en effet Cinema n'est qu'un dossier qui contient des films et n'est par monté.

La sortie de mount :

Code : Tout sélectionner

[okapi@Archie Bureau]$ sudo mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1997876k,nr_inodes=499469,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sdb1 on /media/Stock0 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev/sda2 on /media/Stock1 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda3 on /media/Stock2 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda6 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /media/Win_7 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
tmpfs on /run/user/120 type tmpfs (rw,nosuid,nodev,relatime,size=400544k,mode=700,uid=120,gid=120)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=400544k,mode=700,uid=1000,gid=100)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
[okapi@Archie Bureau]$ 
La TV ? J'adore la TV. Je peux rester des heures devant la TV ... et même, parfois, il m'arrive de l'allumer ...
Image
(Jean-Luc GODARD)
Répondre