LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-24-2004, 05:33 AM   #1
cbekannan
LQ Newbie
 
Registered: Dec 2004
Location: Coimbatore
Posts: 23

Rep: Reputation: 15
rights problem in Linux Samba network


I have set up an environment for file sharing with Linux as server and Samba as a PDC for winXP Client Workstations on it. I have shared a folder called CT for edt group to access and store and write or modify files in that. Earlier the same folder was in Windows 2K3 server and I copied all files to linux samba share (CT) and change the group to edt using the command chgrp, also changed the permission to write and read for both owner and group. All are going fine except the problem of permission, whenever the group member add files or folders under the folder CT, the folder can only be writable for owner and groups and others are only having read access. Everytime after adding a file or folder by the edt group member, I have to change the permission to 770 manually. In a live environment I'm not able to proceed with kind of follow ups, I want to set 770 as permission for CT folder permanently.
 
Old 12-31-2004, 11:51 PM   #2
nargonne
LQ Newbie
 
Registered: Dec 2004
Location: Atlanta, GA
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
First chmod 770 /your/share/folder

then in smb.conf do something like:

[Public]
comment = Public Directory
path = /home/public
valid users = @public-group
force group = public-group
read only = No
create mask = 0770
force create mode = 0770
directory mask = 0770
force directory mode = 0770


The result is when a user creates a file in the Public share the user:group is useraccountublic-group and the permissions are -rwxrwx---
 
  


Reply



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 domain: admin rights problem on XP hitotito Linux - Networking 2 04-26-2005 04:27 PM
Rights problem in Linux Samba network cbekannan Linux - Security 1 12-25-2004 12:09 PM
Samba Rights Problem paul.nel Linux - Networking 1 12-18-2004 04:40 AM
Samba Rights problem SSENT12 Linux - Networking 3 04-23-2004 12:20 AM
Linux PDC - How Do I give the Samba User Local Admin Rights on XP machine? Vince0000 Linux - Networking 4 12-18-2003 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:36 AM.

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