Re: [Samba] samba share permission

2012-01-09 Thread Charles Tryon
Malvin,

  You say you are talking about an NFS share.  Are your users on Windows or
Linux?  Of course, if you really are using NFS, then the Samba config isn't
going to control that.


On Fri, Jan 6, 2012 at 4:03 PM,  tung  wrote:

> hi,
>
> i am very new to samba and have run into an issue with setting up
> directory/file permissions.
>
> i have a nfs share on redhat 6 linux server that a group of users will
> share. basically each user will run their own respective jobs and save the
> logs in this share.
> my issue is that  all of the users are able to delete each others files,
> which i do not want
>
> can somebody please help me setup right smb.conf policy so that only the
> file creator can delete the file.
>
> curently i am playing with these settings ( which do not work)
>
>   path = /nfsshare/raw
> browseable = no
> writable = yes
> printable = no
> create mask = 700
> force group = raw
> force create mode = 700
> security mask = 000
> force security mode = 700
> force directory mode = 700
> directory mask = 700
> directory security mask = 000
> force directory security mode = 700
>
>
>
> really appreciate, i f somebody can help
> thanks
> malvin
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Charles Tryon
_
  "It's the job that's never started that takes longest to finish."
 -- Samwise Gamgee
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] samba share permission

2012-01-07 Thread TAKAHASHI Motonobu
From:  tung 
Date: Fri, 6 Jan 2012 13:03:24 -0800 (PST)

> i have a nfs share on redhat 6 linux server that a group of users
> will share. basically each user will run their own respective jobs
> and save the logs in this share. 

> my issue is that  all of the users are able to delete each others
> files, which i do not want 
> can somebody please help me setup right smb.conf policy so that only
> the file creator can delete the file. 

You need to know that parameters of Samba including those described
in your smb.conf can manage permissions of files/directories created
(manupulated) via SMB clients.

> create mask = 700
> force group = raw
> force create mode = 700
> security mask = 000
> force security mode = 700
> force directory mode = 700
> directory mask = 700
> directory security mask = 000
> force directory security mode = 700

Samba can restrict access per share/per user using writable/write
list/..., but not per files/directories.

If your jobs are running on RHEL server, you have to set correctly
permissions in your jobs. 

---
TAKAHASHI Motonobu 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba share permission

2012-01-07 Thread mmmm tung
hi, 
 
i am very new to samba and have run into an issue with setting up 
directory/file permissions. 
 
i have a nfs share on redhat 6 linux server that a group of users will share. 
basically each user will run their own respective jobs and save the logs in 
this share. 
my issue is that  all of the users are able to delete each others files, which 
i do not want
 
can somebody please help me setup right smb.conf policy so that only the file 
creator can delete the file. 
 
curently i am playing with these settings ( which do not work)
 
  path = /nfsshare/raw
    browseable = no
    writable = yes
    printable = no
    create mask = 700
    force group = raw
    force create mode = 700
    security mask = 000
    force security mode = 700
    force directory mode = 700
    directory mask = 700
    directory security mask = 000
    force directory security mode = 700

 
 
really appreciate, i f somebody can help
thanks
malvin
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba share permission

2006-07-12 Thread Julien de Luca {Integrated Systems Ltd}
Just finished setting up a samba Server and having problems with file
permissions. I have a main folder 'company' and subfolders like accounting,
human resources, marketing. Unfortunately I cannot create separate shares
for each folders as some members need to have access to all groups.. (I have
20 subfolders and 15 groups!). I also have a document management software
running on the same share and accessing all 20 subfolders!...

 

I have tried setting up smb.conf to restrict access according to group and
users. As soon as I implement some GROUP access on samba I start having
access problems whereby files cannot be accessed by members of that group.
If anyone can help by supplying a version of SMB.conf that should do the job
I would much appreciate! Any HELP is appreciated.. :-)

 

Julien

 

 

Julien 

 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba