I finaly got the time to do some stuff on my server. I bought mini web camera and I needed to experiment with NETTV APIs to test my "smart" TV if it is able to consume video stream from the camera.
The default apache web site in in folder /var/www so that's my target folder to share on my network to other computers where I can modify the NETTV source code. Because I have Webmin installed I will try to use it, otherwise the config file is in /etc/samba/smb.conf and sharing folder can be achieved with just few directives.
I want the folder to be accessible to all, without login for now as I did not set any samba users yet, and I want to be able to modify content. Note that the folder already has files in it with user ID and group of "root" user which is a privileged user. This also means that other user (system users on the server) will not be able to modify it's content, but they can read the content.
[www]
writeable = yes
path = /var/www
force group = root
force user = root
comment = Apache default website
public = yes
create mode = 644
dont descend = webalizer
So this took me a minute to set up and a lot more time to write this down, so I of testing my camera and TV.