https://bugs.kde.org/show_bug.cgi?id=432271

--- Comment #15 from dma...@mailbox.org ---
(In reply to Albert Astals Cid from comment #14)
Hi, first of all thanks your code care efforts, cifs means a samba share, where
files are offered within a network for a plenty of users. I suggest you set up
a virtual machine for it, for example an Ubuntu Server 20.04 LTS. 

Samba setup on the server:
sudo apt install samba
sudo adduser --no-create-home --disabled-login --shell /bin/false testuser
sudo smbpasswd -a testuser
sudo mkdir /srv/data/all
sudo vim /etc/samba/smb.cnf
  ...
  workgroup = team
  ...
  [testusershare]
  comment = Testuser Directories
  path = /srv/data/all
  browsable = yes
  read only = no
  create mask = 0770
  force create mode = 0770
  directory mask = 0770
  force directory mode = 0770
  inherit permissions = yes
  inherit acls = yes
sudo systemctl restart smbd

On the client side, i. e. a current Ubuntu:
sudo mkdir /media/testusershare
sudo apt install cifs-utils 
vim /home/<localuser>/.smbcredentials
  username=testuser
  password=<secret>
chmod 600 /home/<localuser>/.smbcredentials 

vim /etc/fstab
  ...
  //<IP virtual server>/testusershare /media/testusershare cifs
credentials=/home/<localuser>/.smbcredentials, uid=<uid localuser>,gid=<gid
localuser>,vers=3.1.1,nobrl  0 0
...

sudo mount -a

VoilĂ , then you should be able to save pdf files on /media/testusershare for
testing purpose.

Regards,
dm

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to