I see this is your first post, welcome to the openSUSE forums.
You have chosen for OTHER VERSION, which should mean that you use an unsuported version of openSUSE. This might make it more difficult to help, but people will nevertheless try to help. You could however make this easier when you explain what version you do run (lack of clairvoyance here).
Also a technical hint:
There is an important, but not easy to find feature on the forums.
Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.
Silly question: why hard disk “Disk2” and hard disk “Disk3” have different path? They are installed in two different bays in my computer
Many thanks for your help!
It appears that you’re letting these mount via your desktop environment’s mounting mechanism. That uses the support of udev/udisks to do that, and determines the /run/media/ naming. The mount command will show…
mount | grep /run/media
If they are going to be permanent shares, then consider mounting via /etc/fstab instead.
Now I can see the content but I can’t write/modify the files.
The problem was in the mount folder settings run > media > calimero > Disk2 and run > media > calimero > Disk3 : the “Share with Samba” option was not activated in Properties> Share tab.
Samba comes with different types of permissions for share. Try to remember few things about UNIX and Samba permissions.
(a) Linux system permissions take precedence over Samba permissions. For example if a directory does not have Linux write permission, setting samba writeable = Yes (see below) will not allow to write to shared directory / share.
(b) The filesystem permission cannot be take priority over Samba permission. For example if filesystem mounted as readonly setting writeable = Yes will not allow to write to any shared directory or share via samba server.
Disk2: I tried to change the folder/HD permissions in File Manager - Super User mode but in the Permissions tab when I change Group properties and Others properties to *Can view and modify content *
this option has not been saved. - Disk3: even if Permissions for Owner and Group are Can view and modify content, I can’t see the folder content in my Win10 PC
You’d need to show us the permissions of the partitions in order for us to advise further about that. Also the fstab entries would be important to know as well.
I can write just in some directories of Disk3, not the whole disk
This will depend on the ownership of the directories concerned. You’d need to share that info of the disk itself. Also I assume that the mount-point (/mnt/Disk3) is likely root-owned?
ls - l /mntDisk3
You could force the group and user to match the ownership so that all valid samba users are mapped as particular user…for example…
[Disk3]
comment = Disk3
guest ok = Yes
force user = root
force group = root
path = /mnt/Disk3/
read only = No
vfs objects