bug#79508: [PATCH] tail: fix seeking backward

2025-09-24 Thread Hannes Braun via GNU coreutils Bug Reports
* src/tail.c (file_lines): Seek to the previous block instead of the beginning (or a little before) of the block that was just scanned. Otherwise, the same block is read and scanned (at least partially) again. This bug was introduced by commit v9.7-219-g976f8abc1. --- src/tail.c | 2 +- 1 file cha

bug#79488: [RFE] Enhancement idea : Better Handling of File Permission with CHMOD Command

2025-09-24 Thread Stan Marsh
>> Example (if possible): >> -- >> $ chmod 777 -t 30 myfile.txt >> # Grants full access to "myfile.txt" for 30 minutes >> # After 30 minutes, permissions revert to their previous state >$ chmod-t() { local m=$(stat -c %a "$2"); chmod "$1" "$2"; sleep ${3}m; chmod >$m "$2

bug#79488: [RFE] Enhancement idea : Better Handling of File Permission with CHMOD Command

2025-09-24 Thread Andreas Schwab
On Sep 22 2025, "Mahish Sivan S (Nokia)" via GNU coreutils Bug Reports wrote: > Example (if possible): > -- > $ chmod 777 -t 30 myfile.txt > # Grants full access to "myfile.txt" for 30 minutes > # After 30 minutes, permissions revert to their previous state $ chmod-t() { l