saving files on the network

saving files on the network

Shlomo Solomon shlomo.solomon at gmail.com
Tue Dec 28 05:58:56 IST 2021


I think the relevant line in my /etc/fstab is the equivalent of what
you suggested, but for some reason, all files "seem" to be owned by
root, rather than the actual owner, so I use smb:// or fish:// in KDE
Dolphin and then I can access files properly. 

The fstab line is:

//pi/PI-PUBLIC /mnt/PI-PUBLIC cifs
user,credentials=/etc/samba/auth.pi.solomon 0 0 


On Tue, 28 Dec 2021 01:25:54 +0200
Rabin Yasharzadehe <rabin at rabin.io> wrote:

> Do you have this problem when accessing the files when the share is
> mounted using simply the mount command ?
> > mount -t cifs //pi/public /mnt
> 
> I know I had this problem, when Gnome/Mate mounted the shares via
> fuse or gvfs which not all applications know how to work with.
> 
> --
> Rabin
> 
> 
> On Mon, 27 Dec 2021 at 18:02, Shlomo Solomon
> <shlomo.solomon at gmail.com> wrote:
> 
> > I have a shared disk on my Raspberry Pi accessed on my several
> > computers as PI-PUBLIC. I access the drive using smb:// or fish://
> > or directly from the /mnt defined in /etc/fstab and can read, write,
> > delete files from KDE programs - for example Kwrite, Okular, etc.
> >
> > I have 2 related(??) problems saving files to the share from a
> > non-KDE program.
> >
> > Problem #1
> > In LibreOffice (for example) , I get:
> > "Error saving the document Untitled 1: Object not accessible. The
> > object cannot be accessed due to insufficient user rights."
> >
> > But I DO have user rights since KDE programs DO work.
> >
> > Some programs don't even "warn" that the file has not been saved.
> >
> >
> >
> > Problem #2
> > If I save to (for example) the Desktop, I can then drag-and-drop the
> > file to the network drive, but if I later open it and want to make
> > changes, when I try to save, I get a message box saying:
> > "The file smb://solomon@pi/PI-PUBLIC/Documents/tst.odt has been
> > modified. Do you want to upload the changes?"
> > If I click un the "Upload" button, the change IS saved, but the
> > extra step (and the fact that I cannot save a new document to the
> > drive) are driving me crazy.
> >
> > I read somewhere that this is a known problem when using non-KDE
> > programs in KDE Plasma - something to do with the kioslave, but have
> > not found a solution.
> >
> > Any way to get around this?
> >
> >
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
> >
> > _______________________________________________
> > Linux-il mailing list
> > Linux-il at cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >



-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04



More information about the Linux-il mailing list