Re: [Samba] limit access to folder without mapping a new drive

2010-06-30 Thread Nulty, Helen P
We do this using msdfs root.

Make /files an msdfs root.
Create separate shares at the same level as /files for the folders that need to 
be restricted.
Place msdfs links to those shares under departments/.

Helen

-Original Message-
From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On 
Behalf Of John Drescher
Sent: Tuesday, June 29, 2010 12:24 PM
To: c cc
Cc: samba@lists.samba.org
Subject: Re: [Samba] limit access to folder without mapping a new drive

> Under our file structure, we have /files/all/departments/. We want
> everyone to have access to all the folders under files, but there are
> couple of folders in the departments directory/folder that need to
> limit access to only one person. Is it possible without mapping a new
> drive? Thanks!
>

The way I prefer to do this is to set proper posix acls.

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


Re: [Samba] limit access to folder without mapping a new drive

2010-06-29 Thread John Drescher
> Under our file structure, we have /files/all/departments/. We want
> everyone to have access to all the folders under files, but there are
> couple of folders in the departments directory/folder that need to
> limit access to only one person. Is it possible without mapping a new
> drive? Thanks!
>

The way I prefer to do this is to set proper posix acls.

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


Re: [Samba] limit access to folder without mapping a new drive

2010-06-29 Thread Gaiseric Vandal
Change the file permissions, either via Windows or with unix "chmod, 
chown etc" on the server..  The share perms will not override the file 
system permissions.


On 06/29/2010 12:19 PM, c cc wrote:

Hi,
Under our file structure, we have /files/all/departments/. We want
everyone to have access to all the folders under files, but there are
couple of folders in the departments directory/folder that need to
limit access to only one person. Is it possible without mapping a new
drive? Thanks!

--
[files]
comment = files
#  hosts allow =
 path = /files
 public = yes
 writable = yes
 printable = no
 create mask = 0644
 directory mask = 0755
 available = yes
 guest only = no
 browseable = yes
 only user = no
   


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


[Samba] limit access to folder without mapping a new drive

2010-06-29 Thread c cc
Hi,
Under our file structure, we have /files/all/departments/. We want
everyone to have access to all the folders under files, but there are
couple of folders in the departments directory/folder that need to
limit access to only one person. Is it possible without mapping a new
drive? Thanks!

--
[files]
   comment = files
#  hosts allow =
path = /files
public = yes
writable = yes
printable = no
create mask = 0644
directory mask = 0755
available = yes
guest only = no
browseable = yes
only user = no
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba