Tzafrir Cohen wrote:

> I have two classes of users to which I wish to give easy access to files
> on my servers:

> 2. Mail users
> 
> I wish to allow somne of them to build personal homepages on the web
> server (which is currently the same as the mail server). I wish to limit
> them to a certain subdirectory which is not their home directory

> Samba:
> The system runs in a local network, so samba is an alternative. I have yet
> to configure it properly. One specific thing: I understand that samba does
> not interact well with unix permissions. Those directories may need a
> special combination of group/user/permissions and I'm not exactly sure how
> to do it through samba.

No, it does work well with unix permissions, RTFM,

Set up their home directories as owned by the user, group http. Set the
directory permissions as u+rwx, g+srx. Users would not be in group http,
but the web server would be. Set the umask for them to 027. Set the server
up so that ~user resolves to users home directory. 

If you don't want it to be their home directory, you could change both the
share and web server to resolve to something else.

Geoff.



-- 
Geoffrey S. Mendelson
Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York.
Tel:  972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [EMAIL PROTECTED] 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to