Re: saving files on the network

2021-12-28 Thread Shlomo Solomon
On Tue, 28 Dec 2021 10:31:48 +0200 shimi wrote: > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > > > > CIFS file ownership is root unless you also specify in your mount > command -o uid= (or equivalent > uid=user in fstab options column) THANK

Re: saving files on the network

2021-12-28 Thread Shlomo Solomon
I though of using some tool, but since I'm dealing with one directory, it seems like overkill and one line of rsync should solve the problem, although I'll probably add a few lines of "sanity" checks and logging :-) On Tue, 28 Dec 2021 10:49:43 +0200 Rabin Yasharzadehe wrote: > In that case

Re: saving files on the network

2021-12-28 Thread Rabin Yasharzadehe
In that case use tools like SyncThing, which let you have a sync folder across several computers. and all the syncing is done in the background (almost live). -- Rabin On Tue, 28 Dec 2021 at 09:37, Shlomo Solomon wrote: > On Tue, 28 Dec 2021 09:05:59 +0200 > borissh1...@gmail.com wrote: > >

Re: saving files on the network

2021-12-28 Thread shimi
On Tue, Dec 28, 2021 at 5:59 AM Shlomo Solomon wrote: > 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

Re: saving files on the network

2021-12-27 Thread Shlomo Solomon
On Tue, 28 Dec 2021 09:05:59 +0200 borissh1...@gmail.com wrote: > file locks that are so needed for binary files), or just to work > locally and then overwrite the original file. Multi connection edits > over the network is a guarantee for a headache later. Thanks. Although not really a

Re: saving files on the network

2021-12-27 Thread borissh1983
On Monday, 27 December 2021 18:01:14 IST Shlomo Solomon 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

Re: saving files on the network

2021-12-27 Thread Shlomo Solomon
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

Re: saving files on the network

2021-12-27 Thread Rabin Yasharzadehe
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

saving files on the network

2021-12-27 Thread Shlomo Solomon
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