Comments (6)
That's great to hear!
An IO error means that the deletion failed typically due to permission errors. trash-cli
also isn't used, the as the trash
crate is used directly.
Closing, as I don't think this issue is actionable, but please feel free to add comments indicating what dua
should do differently here.
from dua-cli.
hm ive tested it again. on my ext4 partition it works. on this zfs pool it dont. but trash-cli works and moves the files into .Trash-1000/files e.g.
ive looked up file ownership and permissions. this should not be the case. but im to dumb to find out on my own why this isnt working.
//edit
hmm this folder were it doenst work is dataset-volume within the main pool. in the main dua i works to move to trash, but not in the sub-pool.
regards
from dua-cli.
It's likely that the files also can't be deleted from the trash then - permissions may allow to move them, but still prevent deletion.
A good test is also to use rm <filepath>
- it will fail just like dua
if permissions are an issue.
from dua-cli.
permissions are not the issue, rm/trash-cli dont have any problems in the child dataset. only dua i got this error in the child dataset.
chris@debian-server:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
storage-zfs 14.6T 7.06T 1.37G /storage-zfs
storage-zfs/Apps 120K 7.06T 120K /storage-zfs/Apps
storage-zfs/Games 873G 7.06T 873G /storage-zfs/Games
storage-zfs/media 13.8T 7.06T 13.8T /storage-zfs/media
i can move to trash via dua in /storage-zfs, but not in /storage-zfs/media or any other child dataset of storage-zfs.
from dua-cli.
trash-cli
does the same that dua
does when deleting single files, but there may be a difference in order when deleting directories. It's hard to say what's really happening here though without a clear description of what was tried in trash-cli
that works and that doesn't work in dua
.
This makes the issue about trashing behaviour though, and not about permission issues which are nothing the application can do anything about.
from dua-cli.
i fiddled a bit more with it, installed rust in the root account and started dua with the root account. i can trash stuff in the child dataset now. a bit of a strange behaviour. now ive to find out how to install rust stuff systemwide.
from dua-cli.
Related Issues (20)
- Multiple dirs in --ignore-dirs not working as expected HOT 8
- Test fails on 32-bit targets HOT 1
- Duplicate key input on Windows since v2.23.0 HOT 5
- termion backend no longer works HOT 2
- Large graphs question
- Feature: Show modification date while sorted by size. HOT 4
- Feature: show free space on current mount point HOT 1
- ARM build can't execute on `aarch64`
- Show real file size on systems with ZFS compression enabled.
- performance: dua-cli full scan takes way longer than gdu HOT 7
- Performance is constrained by single-core CPU speed when I/O does not depend on CPU HOT 4
- error[E0446]: crate-private type `FilesystemScan` in public interface HOT 5
- Interactive navigation for tree with millions of files is really slow HOT 5
- Got a trojan threat from Windows defender when using dua HOT 4
- `dua a` will get the all the sizes of its content if the argv is one directory instead of the directory itself
- Cursor line not visible with NO_COLOR HOT 2
- Exit warning
- dua doesn't show accuarate size less than 4.00 KiB
- 2.29 stopped working on Windows 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dua-cli.