Answer the question
In order to leave comments, you need to log in
How to "share" a folder in SAMBA?
All manuals describe the process as "create a folder /home/<user>/<shared_folder>
", and then we will share it.
Why exactly in /home/<user>
? What if I delete this user from the system? If not directly at home, then where? In /var?
Answer the question
In order to leave comments, you need to log in
man hier
will give a description of the main directories
I would recommend in /srv
Yes, exactly where you want. You can, for example, create a separate partition and mount it on /samba.
Just set the permissions correctly.
And who told you that user is the user under which you log in to the site?
Create a disenfranchised user, and you can also register it in the samba settings.
At the same time, all of a sudden, users from normal systems will be able to access the same folders without any samba, via sshfs or sftp.
Good afternoon. <user>
- this is actually your login in the system.
Path /home/<user>
is your home directory.
All tutorials assume that you are the actual user of the system and suggest that you create a folder in your home directory.
So it can be done, for example, in / mnt /
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question