GNU Core Utilities - Support: sr #110227, Unremoveable file bug
You are not allowed to post comments on this tracker with your current authentication level.
sr #110227: Unremoveable file bug
Submitter: | Ali Rıza KESKİN <sulincix> | ||
Submitted: | Sat 25 Apr 2020 12:22:34 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Severity: | 4 - Important | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Operating System: | GNU/Linux |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-04-25 | sulincix | Attached File | - | ![]() |
Added photo_2020-04-25_12-14-33.jpg, #48935 |
Powered by Savane 3.12.
Corresponding source code
if I create a file that first character is "-" I cannot remove or move file. (file name is same parameter)
But I can remove or move with python script
```shell
sulin@SulinOS:test :) > echo aa > -f
sulin@SulinOS:test :) > ls
-f
sulin@SulinOS:test :) > rm -f -f
sulin@SulinOS:test :) > ls
-f
sulin@SulinOS:test :) > python3
Python 3.7.4 (default, Dec 15 2019, 19:57:41)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
sulin@SulinOS:test :) > ls
sulin@SulinOS:test :) >
```