LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-09-2006, 02:45 AM   #1
booga
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
Quote:
chmod 771 /home/test3
I add the following lines to smb.conf

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

Quote:
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
Quote:
/etc/rc.d/rc.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
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

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

Quote:
[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
Quote:
only guest = yes
is a good idea.
 
Old 05-11-2006, 09:51 PM   #3
booga
LQ Newbie
 
Registered: Jul 2003
Distribution: slack
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you!
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 PM.

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