Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-09-2006, 02:45 AM   #1
LQ Newbie
Registered: Jul 2003
Distribution: slack
Posts: 15

Rep: Reputation: 0
Samba - folder permissions, owners - I don't understand why this is not working

Distro is Slack 10

I create a folder called test3

set permissions
chmod 771 /home/test3
I add the following lines to smb.conf

path = /home/test3
public = yes
browseable = no
only guest = yes
writable = yes
printable = no
CHOWN folder (staff is a group that I created)

chown existing_user:staff /home/test3
smbpasswd contains the login info used by the Win XP machine trying to access the shared folder

restart SAMBA

I get access denied trying to connect to the folder. from what I posted above, it follows what I understand about samba.

What did I miss???

I am trying to limit access so that contents of this folder from an account not in STAFF

Last edited by booga; 05-09-2006 at 02:59 AM.
Old 05-09-2006, 03:23 AM   #2
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
maybe by adding this kind of rules to smb.conf

[my share]
create mask = 0775
directory mask = 0775
there you can specify the grants to use when accessing a shared folder.

I'm not sure the
only guest = yes
is a good idea.
Old 05-11-2006, 09:51 PM   #3
LQ Newbie
Registered: Jul 2003
Distribution: slack
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Public Folder Permissions decoone Linux - Networking 4 09-26-2007 12:42 AM
Samba Public shared Folder will not hold permissions xzerros Linux - Networking 12 09-26-2005 09:25 AM
Folder permissions problem with Samba albracco Linux - Networking 4 08-24-2004 10:09 PM
how to setup folder permissions for guest user with samba? wza Linux - Networking 0 07-08-2004 09:26 AM
samba folder permissions problem albracco Linux - Software 4 07-02-2004 07:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration