--- Begin Message ---
Subject: |
Problem with 'chmod' (LinuxMint 64 v17 - KDE) |
Date: |
Thu, 03 Jul 2014 09:53:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hello
I am french and I hope you will excuse my very bad english.
I try to modify the permissions of a file, but I don't succeed. I want
the file 'essai.sh' became executable : so I want to transform the
permissions from '-rw-------' to '-rwx------', usign 'chmod' (in 'root').
But... Look, please :
address@hidden:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts
> chmod -v u+x essai.sh
le mode de «essai.sh» a été modifié de 0600 (rw-------) en 0700 (rwx------)
address@hidden:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts
> ls -l
total 1
-rw------- 1 yves yves 83 juil. 2 18:12 date_sauvegarde.sh
-rw------- 1 yves yves 43 juil. 2 18:45 essai.sh
The result would be '-rwx------', but you can see that it's '-rw-------'
! ! !
I don't know if it's a bug, or if it's me, but I don't understand !
Could you help me please ?
Thanks if you can
Yves Bourguet
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17907: Problem with 'chmod' (LinuxMint 64 v17 - KDE) |
Date: |
Thu, 03 Jul 2014 05:47:14 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
tag 17907 notabug
thanks
On 07/03/2014 01:53 AM, Yves Bourguet wrote:
> Hello
>
> I am french and I hope you will excuse my very bad english.
>
> I try to modify the permissions of a file, but I don't succeed. I want
> the file 'essai.sh' became executable : so I want to transform the
> permissions from '-rw-------' to '-rwx------', usign 'chmod' (in 'root').
>
> But... Look, please :
>
>
>
> address@hidden:/media/yves/Partition-ntfs/Travaux/DOCUS/Informatique/Scripts
^^^^^^^^^^^^^^
NTFS is a notoriously difficult file system (not as bad as FAT, but
still not POSIX compliant). The fact that your Linux kernel file system
driver doesn't support setting executable bits (or at least not
reporting them) is not a bug in coreutils, but a limitation of your
kernel driver. If you want anything to change, you'll have to report it
to the kernel folks.
As such, I'm closing this as not a coreutils bug; there's nothing we can
do about it here. However, do feel free to ask further questions on
this thread, as needed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
--- End Message ---