GNU nano - Bugs: bug #58383, backup files always have the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58383: backup files always have the user's standard group
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 17 May 2020 05:47:07 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Sun 24 May 2020 05:27:03 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Sun 17 May 2020 06:39:23 PM UTC, comment #1: Ehm... writing the backup file happens only after chowning and chmodding the backup's file descriptor, so we don't know yet whether writing will succeed. :| |
Benno Schulenberg <bens> |
Sun 17 May 2020 05:47:07 PM UTC, original submission:
To reproduce, grep for your user name in /etc/group. Pick one of the groups that you are a member of (for example: cdrom) and do: 'chown :cdrom README'. Do 'ls -l README' to see that the file is now indeed in the cdrom group.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-07-30 | bens | Open/Closed | Open | Closed | |
2020-05-24 | bens | Status | None | Fixed | |
2020-05-20 | bens | Assigned to | None | bens |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit 5449d1e6, by simply ignoring the return value of fchown().