LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-20-2015, 08:55 AM   #1
paul2015
Member
 
Registered: Apr 2015
Distribution: CentOS Fedora
Posts: 149

Rep: Reputation: 4
samba server & linux permissions


hello everyone

I am little confused in assigning permissions so my configuration is following.
Server running centos 7, samba-4.2.3-10. On server are configured several shares.

Example:

users:
user c initial group: w supplementary: c
user d initial group: w supplementary: d

groups: w (all users)

shares:

share1 root:c rwxrwx---
share2 root:d rwxrwx---

Everyone is happy so they can access their shares in their own directories, but I
needed to allow user d to access all data in share1 directory. so I have assigned
permissions with: setfacl -R -m u:d:rwx share1. now user d can access all files in
share1 directory and it's ok. Also user c can read and write files created by user
d as it creates with group w.

my question is, what if I need to allow user d to access data inside share1 to
specific directory not entire directory?

thanks
 
  


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 Server issue & permissions alsharifhoussam Linux - Server 3 06-26-2009 02:09 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM

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

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