[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem
From: |
Paul Eggert |
Subject: |
bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem |
Date: |
Tue, 24 Dec 2013 09:39:14 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Artem Chuprina wrote:
> When the target file exists, cp does
> not try unless explicitly asked to. But when creating file, it does
> (that is, file's permissions are copied from source, not just left as
> set by umask).
Even when creating a file, GNU cp by default does not use 'chmod'
to copy the file's permissions (12 bits). Instead, it merely
creates the file with the permissions of the source
as modified by the umask (9 bits). That is why it doesn't
run into a problem in your setup.
The proposed patch would cause GNU Emacs to act similarly,
which is why I expect it to work for you.
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, (continued)
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/21
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Eli Zaretskii, 2013/12/21
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/21
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/23
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/24
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Andreas Schwab, 2013/12/24
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/24
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem,
Paul Eggert <=
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/24
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/29
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Eli Zaretskii, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Eli Zaretskii, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Paul Eggert, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Artem Chuprina, 2013/12/22
- bug#16133: 24.3; copy-file fails on chmod when copying to FAT filesystem, Eli Zaretskii, 2013/12/22