LinuxQuestions.org
Help answer threads with 0 replies.
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 03-14-2004, 10:50 AM   #1
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Rep: Reputation: 15
samba rights/security?


I have a little problem.

I have a samba share of which i want some specific people to be able to read/write/execute. those people i have included in the group "share"
now it works fine to copy things into a directory with the rights 575 (where share is the group). but when it comes to the files itselves it seems like the rights goes after the ownership-rights and not by the group rights. and it doesnt matter who the owner is! the owner can be root, it doesnt matter, if the rights are 7?? you are able to delete the file.

Does anyone know a way to fix this? can it be something wrong in my config or something? it seems strange since it works nicely with the directories

my samba config for the specific share looks like this:

[share]
comment = allt
guest ok = yes
writable = yes
path = /share
#security mask = 0755
create mask = 0555
directory mask = 0777



thanks in advance.
 
Old 03-14-2004, 11:38 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You can try changing the attributes to the files/directories, etc. man chattr for more details. You can set the files up to be writable but not able to be deleted, etc.
 
Old 03-14-2004, 12:31 PM   #3
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
yes, i have been playing with that thought. but it doesnt quite do what i am looking for. all i want is that the samba goes after the proper rights the user and the users group belongings has and not automatically goes after the owner-rights. it must be some easy solution, but i just can't find it.
it just feels so basic, no other suggestion?
 
Old 03-21-2004, 02:46 AM   #4
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
hi emanon

i am looking with the same scenario now

could you please tell me how you sorted out that issue.
 
Old 03-21-2004, 08:20 AM   #5
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
Heh, I didn't. i am still standing clueless. no one who seemed to be able to help here, unfortunately
 
  


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 Rights Problem paul.nel Linux - Networking 1 12-18-2004 05:40 AM
PHP security, roles, rights logicdisaster Programming 3 06-21-2004 03:33 PM
Samba Rights problem SSENT12 Linux - Networking 3 04-23-2004 01:20 AM
Warning: Protect Your Digital Rights And Security! TexasDex General 11 04-25-2003 12:54 PM
Samba Access rights ppuddick Linux - Networking 2 07-17-2002 12:28 PM

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

All times are GMT -5. The time now is 10:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration