EDIT: You may want to read through the 5 page thread but the solution is now in User Documentation Wiki at the below link (SAMBA File Sharing)
http://www.salixos.org/wiki/index.php/C ... umentation
There is probably an easy way
Nope!
But..........
This always works for me.
But I don't guarantee a thing..
Just always works for me.
I hacked together a Basic smb.conf which I am using on Salix 14.
I modified the Share section for your /home/paul/Download dir.
You can save it to /etc/samba as root user.
Should get your desired results but first you must set some security and and groups memberships
And make a samba share group.
Remember When you can see your Own Shared Folder contents in your FileManager via the Network choice you are shared.
Then others can see it also.
The smb.conf is at the bottom of post save it to /etc/samba appropriately.
Here are the instructions I normally use to make
your sambashare group.
Make Your User a member of it.
Create your samba password for your user
You can cut and paste commands to a terminal to which you have
su
and become root
Leave out all
# ..As that is to indicate the Terminal prompt.
Install thunar-shares-plugin package if you are using Thunar File Manager.
Configuration Steps
This marks the named objects for automatic export to the environment of subsequently executed commands:
Code: Select all
# export USERSHARES_DIR="/var/lib/samba/usershares"
# export USERSHARES_GROUP="sambashare"
This creates the usershares directory in var/lib/samba:
This makes the group sambashare:
This changes the owner of the directory and group you just created to root:
Code: Select all
# chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}
This changes the permissions of the usershares directory so that users in the group sambashare can read, write and execute files:
Make your user a member of the Group, replacing "your_username" with the name of your user:
Code: Select all
# usermod -a -G ${USERSHARES_GROUP} your_username
Check you are in the Group just created
Create a Password for Paul
Enable Paul
Using your favorite text editor as root, create the file /etc/samba/smb.conf and
Copy and Paste in the smb.conf below and save.
Then Restart Samba
or Reboot..
[global]
Workgroup = Workgroup
server string = %h server (Salix)
panic action = /usr/share/samba/panic-action %d
log file = /var/log/samba/log.%m
usershare allow guests = Yes
####### Authentication #######
security = user
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
max log size = 1000
name resolve order = bcast lmhosts host wins
printcap name = cups
dns proxy = No
usershare max shares = 100
map to guest = Bad User
idmap config * : backend = tdb
########## Printing ##########
# cupsys-client package.
printing = cups
printcap name = cups
########## Share Definitions ##########
[homes]
comment = Home Directories
valid users = paul
create mask = 0700
directory mask = 0700
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[PUBLIC]
path = /home/paul/Download
valid users = paul
read only = No
create mask = 0775