chmod inopérant

Asked by bernard garnier

# uname -v
#28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017

Je veux rendre executable mon fichier sv2-lx.sh

$ sudo su -
[sudo] Mot de passe de nan :
...

# ls -l
total 160
...
-rw-r--r-- 1 nan nan 149 juin 25 15:13 sv2-lx.sh

# chmod -v 755 sv2-lx.sh
le mode de 'sv2-lx.sh' a été modifié de 0644 (rw-r--r--) en 0755 (rwxr-xr-x)

# ls -l *.sh
-rw-r--r-- 1 nan nan 149 juin 25 15:13 sv2-lx.sh

Pourquoi cel

Question information

Language:
French Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
bernard garnier (bg-lx) said :
#1

cela ne fonctionne pas ?

Revision history for this message
bernard garnier (bg-lx) said :
#2

mon fichier est sur un disque externe en FAT 32

Revision history for this message
bernard garnier (bg-lx) said :
#3

Je ne peux donc gérer les droits avec chmod

Revision history for this message
bernard garnier (bg-lx) said :
#4

Existe-t-il une solution ?

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

FAT32 partitions do not have access control.
Based on the parameters for the mount command, the access control settings are simulated.
You have to change the mount command to get execute permission on the files (and you will then get that for all of them).

If you need an answer in French language, you probably better look at http://www.ubuntu-fr.org/

Can you help with this problem?

Provide an answer of your own, or ask bernard garnier for more information if necessary.

To post a message you must log in.