Page 1 of 1

df command giving erors

PostPosted: Apr 7th, '21, 05:52
by nigelc
When I run the df command I get this error.
This is using df:

Code: Select all
nigel@localhost Desktop]$ df
df: /run/user/1000/doc: Operation not permitted
Filesystem Size Used Avail Use% Mounted on
devtmpfs 12G 0 12G 0% /dev
tmpfs 12G 63M 12G 1% /dev/shm
tmpfs 12G 1.2M 12G 1% /run
/dev/sda1 110G 11G 94G 10% /
tmpfs 12G 1.7M 12G 1% /tmp
/dev/sdb1 1.8T 34G 1.8T 2% /home
tmpfs 2.4G 104K 2.4G 1% /run/user/1000


this using the mate desktop

xx

Re: df command giving erors

PostPosted: Apr 7th, '21, 19:09
by doktor5000
That is an issue with flatpak: https://github.com/flatpak/xdg-desktop- ... issues/512
There's no fix, you can only ignore it until it's fixed or hidden upstream.

Re: df command giving erors

PostPosted: Apr 7th, '21, 22:26
by morgano
bug branched to new one
https://github.com/flatpak/xdg-desktop- ... issues/553
Says it is a problem in df by coreutils

Re: df command giving erors

PostPosted: Apr 8th, '21, 06:36
by nigelc
Thanks for the info.
nigel

Re: df command giving erors

PostPosted: Apr 8th, '21, 18:14
by doktor5000
You can also create an alias in your ~/.bashrc to simply exclude that filesystem type, e.g.

Code: Select all
alias df='df -h -x supermount -x tmpfs -x devtmpfs -x fuse.portal'

This would only show you actual filesystems.

Re: df command giving erors

PostPosted: Apr 9th, '21, 09:33
by morgano
duf is more nice looking for manual use, and does not show that issue

https://itsfoss.com/duf-disk-usage/