<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 28, 2021 at 5:59 AM Shlomo Solomon <<a href="mailto:shlomo.solomon@gmail.com">shlomo.solomon@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think the relevant line in my /etc/fstab is the equivalent of what<br>
you suggested, but for some reason, all files "seem" to be owned by<br>
root, rather than the actual owner, so I use smb:// or fish:// in KDE<br>
Dolphin and then I can access files properly. <br>
<br>
The fstab line is:<br>
<br>
//pi/PI-PUBLIC /mnt/PI-PUBLIC cifs<br>
user,credentials=/etc/samba/auth.pi.solomon 0 0 <br>
<br></blockquote><div><br></div><div>CIFS file ownership is root unless you also specify in your mount command -o uid=<user-id-of-your-regular-KDE-user> (or equivalent uid=user in fstab options column)<br></div><div><br></div><div>There's also a 'multiuser' CIFS mount option, but not sure you want to go there, especially if you're a single luser on your workstation accessing this shared CIFS mount. Once all files appear with yourself as owner, many permission problems (derived from 'other' not having [write on files/execute on dirs] permissions) will go away. You can also use dir_more and file_mode to force 777/666 for all files in the mount, but that's frowned upon for obvious reasons :-)</div><div><br></div><div>HTH,</div><div><br></div><div>-- Shimi<br></div></div></div>