Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > SuSE Linux Help
Reload this Page Samba Right problems
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

SuSE Linux Help For help and discussions related to SuSE Linux

Reply
 
Thread Tools Display Modes
Old 05-07-2008   #1 (permalink)
novell1
Just Joined!
 
Join Date: Dec 2007
Posts: 6
Samba Right problems

Hi,
on my pc with a share "raid5" I have trouble to create directorys, or to copy files to the root (or some directorys under the root) of the raid5 share.
If I login in xp and map a share to the OpenSuse10.2 to the share raid5, I want to do everything (read,write,copy,delete,create dir)
On same directorys I can't.
A other user should have access on raid5 directory "daten" (rw,create,delete the own file, but not delete other files, if possible..)

How can I setup this? How to change the smb.conf? Do I need on all Linux-directorys to give rights 777? (theres a lot!)

Thanks a lot!
novell1 is offline   Reply With Quote
Old 05-07-2008   #2 (permalink)
thronh
Just Joined!
 
Join Date: Apr 2008
Location: Southern California
Posts: 6
Do you have the following in your smb.conf file under the specific share?

[some_share]
path = /some/dir
read only = no
create mask = 0770
directory mask = 0770
directory security mask = 0770
valid users = "@domain_name+domain users"

This will give all users full rights to all files on the share, including newly created files.

To give specific users right add

read list = "@domain_name+some.group"
write list = "@domain_name+some.group"


Of course you need to make sure on the fs the domain users have rwx rights to the folders in question.
thronh is offline   Reply With Quote
Old 05-08-2008   #3 (permalink)
novell1
Just Joined!
 
Join Date: Dec 2007
Posts: 6
Hi Thronh,
Thanks a lot !!!!
I will try soon.
Regards from Switzerland
novell1 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 01:07 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0