mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #424] "Did not have permissions for all directories" in mount point and its subdirectories #185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ggambetta on GitHub (Aug 4, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/424
dustworks fine on my main SSD. However it doesn't seem to work at all on a secondary SSD I have mounted somewhere:/dev/sda1 on /media/gabriel/Extra type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)It doesn't seem to be a permissions issue, because the same happens with sudo. This is on Ubuntu 22, with dust 1.1.1.
@wugeer commented on GitHub (Aug 6, 2024):
hello,I also have two SSDs on my laptop. The results of executing dust on these two SSDs are normal, so I need more information to locate this problem.
Are there any special permissions set in this directory? For example, for lsattr operations, you can execute
lsattr <you_directory_or_file>to see the execution result?Also, could you provide the results of running the dust command in the SomeSubdirectory directory?
@ggambetta commented on GitHub (Aug 6, 2024):
Thank you for looking into this!
There's no special attributes that I know of; I haven't set any, and the output of
lsattris the same as in the other filesystem wheredustworks fine.Running
dustinSomeSubdirectorygives the same error message.Anything else I can take a look at?
@ggambetta commented on GitHub (Aug 6, 2024):
Tried
chmod a+rwx /media/gabriel/Extraand I still get the same error. So, still unclear what permissionsdustis missing.@ggambetta commented on GitHub (Aug 6, 2024):
Oooh, this is interesting! Compiled from source, and that works on
/media/gabriel/Extraperfectly fine!@ggambetta commented on GitHub (Aug 6, 2024):
For sanity checking, I built from source at the 1.1.1 commit (
dbd18f90e7) and it still works. Not what I expected. So what's the difference between the 1.1.1 I'm building and the 1.1.1 I have installed? Must be a dependency?@ggambetta commented on GitHub (Aug 6, 2024):
The release build also works. There goes another theory.
@wugeer commented on GitHub (Aug 6, 2024):
I'm glad that your issue could be resolved. From my computer(arch linux), it appears that dust depends on very basic packages. Perhaps you can check the build script of the installed dust 1.1.1 program on ubuntu to find the differences between it and the local build.



Also, you can contact Danie de Jager (danie.dejager) who is the publisher of 'dust' on Ubuntu Snap, to seek help.
@bootandy commented on GitHub (Aug 7, 2024):
That is very strange, not sure how that could happen.
@ggambetta commented on GitHub (Aug 7, 2024):
Happy to help debug this, please let me know if you want the output of some commands or to poke the system in some other way.
@bootandy commented on GitHub (Aug 9, 2024):
I'm honestly not sure what to do. If you can think of some debugging by all means go for it.
I'm happy to write this off as a one off oddity though.
@wugeer commented on GitHub (Aug 16, 2024):
I've already opened an issue with the package maintainer seeking help, and I hope there will be some progress. :)
https://github.com/daniejstriata/dust-snap/issues/2
@clouedoc commented on GitHub (Oct 6, 2024):
Hello, I encountered this issue as well.
I think the fix is to add information to the README.md that specifies that
dustinstalled throughsnapcan only access the/homefolder.I will open a PR.
@bootandy commented on GitHub (Oct 18, 2024):
Good idea, @clouedoc - thanks.