LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2009, 11:54 AM   #1
mpriddy
Member
 
Registered: Feb 2004
Posts: 35

Rep: Reputation: 15
Help with Samba share


Ok, here is what I need.....

I created a share /home/data/groupshares . I need every folder and file under this share, whether new or existing to have root.users ownership. I need the owner as well as the group to have full read/write/delete/execute permissions. No one else should have any permissions. I want the permissions to stay the same even when users edit a file or document.

One more thing...I am not sure what is up with samba on fedora 10, but whenever i try to use the force user setting, windows users can no longer access the share.

Can someone please tell me how to do this?

P.S. I am on fedora 10

Last edited by mpriddy; 04-28-2009 at 12:00 PM.
 
Old 04-28-2009, 03:05 PM   #2
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
What I would do is create a new group add the user or users to it you want to access the share
then do a chgrp to the correct group on the directory.

In samba then use the

create mask = 0xxx
directory mask = 0xxx

for the correct shares

where xxx would be the permissions you want to give the directory and its contents.

I would not use the force user setting. If you really want to get strict you could use
valid users = xxx, xxx, xxx where xxx is the users you want to grant access to the samba shares

Just a side note you have to have a leading 0 to make it work.

Last edited by Gortex; 04-28-2009 at 03:07 PM. Reason: one other thing...
 
  


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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 11:28 AM
show the samba share but can't mount the share badall Linux - Server 3 05-30-2007 04:24 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:34 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