Pages : 1
#1 Le 08/12/2012, à 19:55
- M1n1pulse
Problème de permission
Bonjour à tous, je viens de télécharger le petit logiciel Mycinema ( le lien : http://www.mycinema-software.com/ ).
Quand je le lance dans mon dossier personnel, il fonctionne très bien. Mais la plupart de mes films sont sur un autre disque dur.
Mais quand je lance l’application depuis mon second disque dur, un message d’erreur apparaît :
The file '/media/AC58-6C35/myCinema_v1.9.3.jar' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit.
Il faut donc que j'autorise l'exécution du fichier comme un programme. Je fais donc clic droit sur le dossier, je clique sur propriétés et je coche la case exécution, seulement, a ce stade la, la case se décoche 1 s après le clic et je n'ai toujours pas l'autorisation d’exécuter le logiciel. Comment faire?
Merci d’avance pour vos réponse
Hors ligne
#2 Le 08/12/2012, à 19:57
- f.x0
Re : Problème de permission
Bonjour M1n1pulse
essaies ceci
sudo chmod a+x /media/AC58-6C35/myCinema_v1.9.3.jar
Dernière modification par f.x0 (Le 08/12/2012, à 19:58)
SOPI
Hors ligne
#3 Le 08/12/2012, à 21:29
- M1n1pulse
Re : Problème de permission
delbruel@delbruel-P5Q-E:~$ sudo chmod a+x /media/AC58-6C35/myCinema_v1.9.3.jar
[sudo] password for delbruel:
delbruel@delbruel-P5Q-E:~$ sudo -i
root@delbruel-P5Q-E:~# chmod a+x /media/AC58-6C35/myCinema_v1.9.3.jar
root@delbruel-P5Q-E:~#
J'ai aussi essayer en mode root mais sa na marche toujours pas
Hors ligne
#4 Le 09/12/2012, à 00:19
- f.x0
Re : Problème de permission
postes le retour de
ls -la /media/AC58-6C35/
SOPI
Hors ligne
#5 Le 09/12/2012, à 00:28
- xavier4811
Re : Problème de permission
Bonsoir,
et le retour de
mount -l ## c'est un L minuscule
Hors ligne
#6 Le 09/12/2012, à 15:17
- M1n1pulse
Re : Problème de permission
retour de
ls -la /media/AC58-6C35/
delbruel@delbruel-P5Q-E:~$ ls -la /media/AC58-6C35/
total 356
drwx------ 13 delbruel delbruel 16384 janv. 1 1970 .
drwxr-xr-x 4 root root 4096 déc. 9 14:15 ..
-rw-r--r-- 1 delbruel delbruel 4096 avril 4 2012 ._.com.apple.timemachine.donotpresent
-rw-r--r-- 1 delbruel delbruel 0 avril 4 2012 .com.apple.timemachine.donotpresent
drwx------ 4 delbruel delbruel 16384 avril 12 2012 divers
drwx------ 114 delbruel delbruel 98304 déc. 2 21:23 film
drwx------ 2 delbruel delbruel 16384 juil. 20 12:36 .fseventsd
drwx------ 5 delbruel delbruel 16384 juil. 12 14:45 Images et photos
drwx------ 3 delbruel delbruel 16384 juil. 17 14:33 jeux
drwx------ 235 delbruel delbruel 65536 juil. 12 13:37 musique
drwx------ 4 delbruel delbruel 16384 déc. 31 2011 .Spotlight-V100
drwx------ 5 delbruel delbruel 16384 janv. 19 2011 System Volume Information
drwx------ 5 delbruel delbruel 16384 déc. 31 2010 .Trash-1000
drwx------ 2 delbruel delbruel 16384 déc. 31 2011 .Trashes
-rw-r--r-- 1 delbruel delbruel 4096 déc. 31 2011 ._.Trashes
drwx------ 5 delbruel delbruel 16384 mars 18 2012 Windows 7
Hors ligne
#7 Le 09/12/2012, à 15:17
- M1n1pulse
Re : Problème de permission
delbruel@delbruel-P5Q-E:~$ mount -l
/dev/sdb5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/delbruel/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=delbruel)
/dev/sda1 on /media/AC58-6C35 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
Hors ligne
#8 Le 09/12/2012, à 15:24
- xavier4811
Re : Problème de permission
C'est le même DD ? Il n'y a pas de fichier myCinema_v1.9.3.jar.
man mount
......
Mount options for fat
......
showexec
If set, the execute permission bits of the file will be allowed only if the extension part of the name is .EXE, .COM, or .BAT. Not set by default.
......
Voila certainement pourquoi il n'est pas exécutable.
Hors ligne
#9 Le 09/12/2012, à 20:24
- M1n1pulse
Re : Problème de permission
désolé je l’avais enlever
delbruel@delbruel-P5Q-E:~$ ls -la /media/AC58-6C35/
total 9188
drwx------ 13 delbruel delbruel 16384 déc. 9 19:22 .
drwxr-xr-x 4 root root 4096 déc. 9 14:15 ..
-rw-r--r-- 1 delbruel delbruel 4096 avril 4 2012 ._.com.apple.timemachine.donotpresent
-rw-r--r-- 1 delbruel delbruel 0 avril 4 2012 .com.apple.timemachine.donotpresent
drwx------ 4 delbruel delbruel 16384 avril 12 2012 divers
drwx------ 114 delbruel delbruel 98304 déc. 2 21:23 film
drwx------ 2 delbruel delbruel 16384 juil. 20 12:36 .fseventsd
drwx------ 5 delbruel delbruel 16384 juil. 12 14:45 Images et photos
drwx------ 3 delbruel delbruel 16384 juil. 17 14:33 jeux
drwx------ 235 delbruel delbruel 65536 juil. 12 13:37 musique
-rw-r--r-- 1 delbruel delbruel 9032982 déc. 8 21:26 myCinema_v1.9.3.jar
drwx------ 4 delbruel delbruel 16384 déc. 31 2011 .Spotlight-V100
drwx------ 5 delbruel delbruel 16384 janv. 19 2011 System Volume Information
drwx------ 5 delbruel delbruel 16384 déc. 31 2010 .Trash-1000
drwx------ 2 delbruel delbruel 16384 déc. 31 2011 .Trashes
-rw-r--r-- 1 delbruel delbruel 4096 déc. 31 2011 ._.Trashes
drwx------ 5 delbruel delbruel 16384 mars 18 2012 Windows 7
Hors ligne
#10 Le 09/12/2012, à 20:27
- f.x0
Re : Problème de permission
Refais
sudo chmod a+x /media/AC58-6C35/myCinema_v1.9.3.jar
ls -la /media/AC58-6C35
SOPI
Hors ligne
#11 Le 09/12/2012, à 20:57
- M1n1pulse
Re : Problème de permission
delbruel@delbruel-P5Q-E:~$ sudo chmod a+x /media/AC58-6C35/myCinema_v1.9.3.jar
[sudo] password for delbruel:
delbruel@delbruel-P5Q-E:~$ ls -la /media/AC58-6C35
total 9188
drwx------ 13 delbruel delbruel 16384 déc. 9 19:22 .
drwxr-xr-x 4 root root 4096 déc. 9 14:15 ..
-rw-r--r-- 1 delbruel delbruel 4096 avril 4 2012 ._.com.apple.timemachine.donotpresent
-rw-r--r-- 1 delbruel delbruel 0 avril 4 2012 .com.apple.timemachine.donotpresent
drwx------ 4 delbruel delbruel 16384 avril 12 2012 divers
drwx------ 114 delbruel delbruel 98304 déc. 2 21:23 film
drwx------ 2 delbruel delbruel 16384 juil. 20 12:36 .fseventsd
drwx------ 5 delbruel delbruel 16384 juil. 12 14:45 Images et photos
drwx------ 3 delbruel delbruel 16384 juil. 17 14:33 jeux
drwx------ 235 delbruel delbruel 65536 juil. 12 13:37 musique
-rw-r--r-- 1 delbruel delbruel 9032982 déc. 8 21:26 myCinema_v1.9.3.jar
drwx------ 4 delbruel delbruel 16384 déc. 31 2011 .Spotlight-V100
drwx------ 5 delbruel delbruel 16384 janv. 19 2011 System Volume Information
drwx------ 5 delbruel delbruel 16384 déc. 31 2010 .Trash-1000
drwx------ 2 delbruel delbruel 16384 déc. 31 2011 .Trashes
-rw-r--r-- 1 delbruel delbruel 4096 déc. 31 2011 ._.Trashes
drwx------ 5 delbruel delbruel 16384 mars 18 2012 Windows 7
delbruel@delbruel-P5Q-E:~$
Hors ligne
#12 Le 10/12/2012, à 00:52
- f.x0
Re : Problème de permission
Essaies ceci alors
sudo chmod u+x,g+x,o+x /media/AC58-6C35/myCinema_v1.9.3.jar
ls -la /media/AC58-6C35
SOPI
Hors ligne
#13 Le 14/12/2012, à 20:24
- M1n1pulse
Re : Problème de permission
Voila la réponse de mon terminal :
delbruel@delbruel-P5Q-E:~$ sudo chmod u+x,g+x,o+x /media/AC58-6C35/myCinema_v1.9.3.jar
[sudo] password for delbruel:
delbruel@delbruel-P5Q-E:~$ ls -la /media/AC58-6C35total 9188
drwx------ 13 delbruel delbruel 16384 janv. 1 1970 .
drwxr-xr-x 4 root root 4096 déc. 14 18:58 ..
-rw-r--r-- 1 delbruel delbruel 4096 avril 4 2012 ._.com.apple.timemachine.donotpresent
-rw-r--r-- 1 delbruel delbruel 0 avril 4 2012 .com.apple.timemachine.donotpresent
drwx------ 4 delbruel delbruel 16384 avril 12 2012 divers
drwx------ 114 delbruel delbruel 98304 déc. 2 21:23 film
drwx------ 2 delbruel delbruel 16384 juil. 20 12:36 .fseventsd
drwx------ 5 delbruel delbruel 16384 juil. 12 14:45 Images et photos
drwx------ 3 delbruel delbruel 16384 juil. 17 14:33 jeux
drwx------ 235 delbruel delbruel 65536 juil. 12 13:37 musique
-rw-r--r-- 1 delbruel delbruel 9032982 déc. 8 21:26 myCinema_v1.9.3.jar
drwx------ 4 delbruel delbruel 16384 déc. 31 2011 .Spotlight-V100
drwx------ 5 delbruel delbruel 16384 janv. 19 2011 System Volume Information
drwx------ 5 delbruel delbruel 16384 déc. 31 2010 .Trash-1000
drwx------ 2 delbruel delbruel 16384 déc. 31 2011 .Trashes
-rw-r--r-- 1 delbruel delbruel 4096 déc. 31 2011 ._.Trashes
drwx------ 5 delbruel delbruel 16384 mars 18 2012 Windows 7
delbruel@delbruel-P5Q-E:~$
il vaut pas mieux que je change la partition de mon disque dur ?
Hors ligne
#14 Le 14/12/2012, à 20:29
- f.x0
Re : Problème de permission
Je crois qu'on a bien la confirmation que ton problème vient bien de l'option mise showexec dans ton fstab.
Comme l'a dit xavier4811 dans le post #8
/dev/sda1 on /media/AC58-6C35 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
S'il est défini, les bits de permission exécuter du fichier ne sera autorisé que si la partie extension du nom. EXE,. COM ou. BAT. Pas définie par défaut.
Donc soit tu enlèves showexec dans ton fstab, soit comme tu le suggères tu changes de partition
SOPI
Hors ligne
#15 Le 14/12/2012, à 21:52
- M1n1pulse
Re : Problème de permission
Donc soit tu enlèves showexec dans ton fstab
comment faire ?
Hors ligne
#16 Le 14/12/2012, à 22:44
- xavier4811
Re : Problème de permission
Ça serait pas plutôt un disque externe avec un point de montage comme ça ?
/media/AC58-6C35
Hors ligne
#17 Le 15/12/2012, à 16:16
- M1n1pulse
Re : Problème de permission
Ça serait pas plutôt un disque externe avec un point de montage comme ça ?
/media/AC58-6C35
si il est monté en /media/AC58-6C35
Hors ligne
Pages : 1