I think the reason why user1 and user2 can access the sales/ folder is
because it's under the marketing/ folder where user1 and user2 are
allowed access. Why not move the sales/ folder a level higher so that it
levels with the marketing/ folder (/home/shares/sales,
/home/shares/marketing)? 

Anyway, you can set /home/shares/marketing/sales to 750 on the system
itself. (not in smb.conf)


On Wed, 2003-04-09 at 15:02, Iris O. Lames wrote:
> I need help again.
> 
> My current setup is this:
> 
> Under /home/shares/marketing, user1, user2, user3 are only allowed to use this 
> "marketing" folder. Under this folder is another folder called "sales" 
> (/home/shares/marketing/sales). 

Now I want to restrict this "sales" folder to user3 only but when I try to declare 
this path to smb.conf user1 and user2 can still access this folder (even after reboot).
> 
> My smb.conf contains:
> 
> [marketing]
>     path = /home/shares/marketing
>     browseable = yes
>     read only = no
>     valid users = user1, user2, user3
>     admin users = user1, user2, user3
>     guest ok = no
>     guest only = no
>     printable = no
>     force create mode = 750
>     force directory mode =750
> 
> [sales]
>     path = /home/shares/marketing/sales
>     browseable = no
>     read only = no
>     valid users = user3
>     admin users = user3
>     guest ok = no
>     guest only = no
>     printable = no
>     force create mode = 750
>     force directory mode =750
> 
> How can I restrict this folder? Any bright idea?


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to