shared folder in samba [SOLVED]
Posted: Thu Dec 29, 2011 12:10 am
Hello, I just installed Linux Mint Debian Edition 64-bit version.
I have shared various folders according to the instructions in this thread:
http://forums.linuxmint.com/viewtopic.php?f=42&t=23169
and all good, except that from the windows machine where I connect, I see I have shared folders with appropriate permissions, but also is my personal user folder complete with all the folders and documents contained therein, with read-only access. I have No shared It. Is there any way to prevent that folder is shared? I googled a lot and searched the forum but I have not seen anything like it. I guess I am doing something wrong, but not see it.
I posted this problem in the spanish subforum without response, I hope not bother anyone by posting it here.
A greeting and thanks in advance.
Here is the outputs from testparm-s net usershare info in case they are useful. I have only shared the folder "temp" but I also see my user folder.
I have shared various folders according to the instructions in this thread:
http://forums.linuxmint.com/viewtopic.php?f=42&t=23169
and all good, except that from the windows machine where I connect, I see I have shared folders with appropriate permissions, but also is my personal user folder complete with all the folders and documents contained therein, with read-only access. I have No shared It. Is there any way to prevent that folder is shared? I googled a lot and searched the forum but I have not seen anything like it. I guess I am doing something wrong, but not see it.
I posted this problem in the spanish subforum without response, I hope not bother anyone by posting it here.
A greeting and thanks in advance.
Here is the outputs from testparm-s net usershare info in case they are useful. I have only shared the folder "temp" but I also see my user folder.
Code: Select all
zasz@astaroth ~ $ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
workgroup = RED
server string = %h server
map to guest = Bad 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
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
zasz@astaroth ~ $ net usershare info
[temp]
path=/home/temp
comment=
usershare_acl=Everyone:F,
guest_ok=n