Hi all, does anybody know why dolphin does/can not show free space available on samba shares and nautilus and nemo can?
What does dolphin do differently than nautilus or nemo?
Do those file managers use different backends to get this information?
I am running this on tumbleweed, but it is the same in leap 15.
Refreshing doesn’t change anything.
Still looking to find how those programs get their information about samba shares.
I’m not running a samba server on the desktop machine, but samba is installed.
And i do not see anything on the commandline when i run dolphin from a terminal, so i could file a bug report, but it will be a vague one.
So i’m still trying to find out more myself first.
I somehow doubt that this would be an openSUSE specific problem, better report it at bugs.kde.org.
Actually this is probably more a (missing) upstream “feature”.
KDE Frameworks/Plasma/Dolphin don’t actually mount a share (they access it “directly”), and that’s the big difference to e.g. Nautilus.
First i thought, could it be so simple to change the permissions on /mnt/readyshare?
No, that didn’t work.
And now i learned that i can change/add/remove files in the root folder of the share, but not in the subfolders.
I hoped that it would behave like a local folder, but it doesn’t :\
Maybe the uid mount option would help?
From “man mount.cifs”:
uid=arg
sets the uid that will own all files or directories on the mounted
filesystem when the server does not provide ownership information. It
may be specified as either a username or a numeric uid. When not
specified, the default is uid 0. The mount.cifs helper must be at
version 1.10 or higher to support specifying the uid in non-numeric
form. See the section on FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS
below for more information.
(maybe together with “forceuid”…)
Or maybe you’d need to mount it as user. You’d need to replace “auto” with “noauto” though.
Btw, you can also browse and mount shares with smb4k, available in the KDE:Extra repo. IIRC, that can also automatically remount shares on login.
Just an additional note though: you may want to add the “nofail” parameter, or your system will not boot if the share cannot be accessed/mounted.
Also you normally should also set the _netdev option for network mounts, although I think systemd is probably able to figure it out itself in this case.
From “man mount”:
**_****netdev**
The filesystem resides on a device that requires network access (used
to prevent the system from attempting to mount these filesystems
until the network has been enabled on the system).
** nofail **Do not report errors for this device if it does not exist.
Exellent advice!
Can’t wait for leap 15 to be released.
I have been playing around with linux mint for the past 5 months after using opensuse since SuSE 7.3 because i couldn’t make 42.3 work with my laptop.
So since leap 15 went up for testing i tried to make it look/work like my mint setup and this was just about the last hurdle
Eventhough leap 15 is still beta, it seems rock solid allready!
Another option would be to use autofs btw, which mounts things as soon as they are accessed.
I never used it myself though, so cannot really help with its configuration.
Next, create the /etc/auto.nfs file (this is mine that references a NAS box):
#
# This is an automounter map and it has the following format
# key -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
nfs 192.168.10.11:/raid0/data/_NAS_NFS_Exports_/ubuntu
vboxnfs 192.168.10.11:/raid0/data/_NAS_NFS_Exports_/vbox
The neat thing about this approach is it works with anything: Dolphin, terminal (eg. ls /mnt/nfs), and in bash scripts. After the time delay the drive is automatically unmounted.