Re: [Samba] samba file hierarcy issue

2012-01-03 Thread Moray Henderson
> -Original Message-
> From: Bruno Martins [mailto:bmomart...@gmail.com]
> Sent: 30 December 2011 14:43
> To: samba@lists.samba.org
> Subject: Re: [Samba] samba file hierarcy issue
> 
> On Fri, Dec 30, 2011 at 2:15 PM, korhan yazgan 
> wrote:
> > Hi
> >
> > I try to configure a samba file server and create a file hierarcy for
> > clients to view folders. What i try to do is as below:
> > I wanted to create a folder x with no password and other folders
> w,y,z
> > inside folder x with password. So users can enter and view x folder
> content
> > but cant view w,y,z
> > folder contents without password. But my clients that connect to
> samba
> > server cant view a folder hierarcy , they can just see the single
> folders
> > that i defined in the smb.conf.
> > Is it possible to create a folder hierarcy in samba server for
> clients
> >
> > Thanks
> >
> > Korhan
> 
> I think it's only possible by setting permissions, either Windows ACL
> or POSIX ACL.


This hierarchy works for us:

drwxr-xr-x 50 root root  4096 Aug 19 16:00 dat/
drwxrws--- 36 root personnel 4096 Dec 22 15:49 dat/personnel
drwxrwxr-x 30 root root  4096 Jul 28 19:36 publish/
drwxrwsr-x  3 root personnel 4096 Apr  4  2011 publish/personnel

where dat and publish are both shares:

[dat]
comment = Group files
path = /samba/dat
create mask = 0744
directory mask = 02770
force directory mode = 02000

[pub]
comment = Published files
path = /samba/pub
create mask = 0664
directory mask = 02775
force directory mode = 02775
guest ok = Yes

Only logged-in members of the personnel group can read or write to files in
dat/personnel; anyone can read files in pub/personnel but only logged-in
members of the personnel group can write to it.


Moray.
"To err is human; to purr, feline."




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


Re: [Samba] samba file hierarcy issue

2011-12-30 Thread TAKAHASHI Motonobu
From: korhan yazgan 
Subject: [Samba] samba file hierarcy issue
Date: Fri, 30 Dec 2011 16:15:40 +0200

> I try to configure a samba file server and create a file hierarcy for
> clients to view folders. What i try to do is as below:
> I wanted to create a folder x with no password and other folders w,y,z
> inside folder x with password. So users can enter and view x folder content
> but cant view w,y,z folder contents without password.
(snip)
> Is it possible to create a folder hierarcy in samba server for clients

No, also can't for Windows.

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


Re: [Samba] samba file hierarcy issue

2011-12-30 Thread Bruno Martins
On Fri, Dec 30, 2011 at 2:15 PM, korhan yazgan  wrote:
> Hi
>
> I try to configure a samba file server and create a file hierarcy for
> clients to view folders. What i try to do is as below:
> I wanted to create a folder x with no password and other folders w,y,z
> inside folder x with password. So users can enter and view x folder content
> but cant view w,y,z
> folder contents without password. But my clients that connect to samba
> server cant view a folder hierarcy , they can just see the single folders
> that i defined in the smb.conf.
> Is it possible to create a folder hierarcy in samba server for clients
>
> Thanks
>
> Korhan
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

I think it's only possible by setting permissions, either Windows ACL
or POSIX ACL.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] samba file hierarcy issue

2011-12-30 Thread korhan yazgan
Hi

I try to configure a samba file server and create a file hierarcy for
clients to view folders. What i try to do is as below:
I wanted to create a folder x with no password and other folders w,y,z
inside folder x with password. So users can enter and view x folder content
but cant view w,y,z
folder contents without password. But my clients that connect to samba
server cant view a folder hierarcy , they can just see the single folders
that i defined in the smb.conf.
Is it possible to create a folder hierarcy in samba server for clients

Thanks

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