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 07-22-2011, 03:33 PM   #1
j0n1509
LQ Newbie
 
Registered: Jul 2011
Posts: 10

Rep: Reputation: Disabled
pls Help Me about file and folder permission on samba


Dear All,

i need help for giving permission (acl) on samba. i would like to giving permission like this on a folder :

owner:full access
group:read+execute

for example the owner is jon, group is manager

i used : chown jon:manager myfolder/ -vR, then chmod 750 myfolder -vR, it work find. but when i created a new file/folder under myfolder the permission became like this :

jon:jon newfolder, i want is jon:manager newfolder.

i try to set on smb.conf
inherit permission = yes

but still doesn't work

please help me with this.

thx a lot
 
Old 07-22-2011, 05:12 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

Welcome to LQ!!!

That is because you need to set gid bit on the folder. Set the permission on myfolder as:
Code:
chmod 2750 -vR /myfolder
and this will work the way you want.
 
Old 08-01-2011, 09:42 AM   #3
j0n1509
LQ Newbie
 
Registered: Jul 2011
Posts: 10

Original Poster
Rep: Reputation: Disabled
hi T3RM1NVT0R

thx a lot for your, i'll try it...
 
  


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 folder access permission perfectpol7 Linux - Security 1 03-14-2009 04:52 AM
Ubuntu - Samba folder permission safapombo Linux - Server 5 04-30-2007 03:48 AM
Problem in samba(Folder Permission) RajendraKumar Linux - Software 1 07-30-2006 11:11 AM
File, Folder permission and SAMBA Steve1445 Linux - Newbie 2 01-15-2004 03:13 PM

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

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