LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to share /var/ftp/pub/... to Windows clients (http://www.linuxquestions.org/questions/linux-networking-3/how-to-share-var-ftp-pub-to-windows-clients-178442/)

rrobinet 05-06-2004 12:23 AM

How to share /var/ftp/pub/... to Windows clients
 
I am running RH 9's vsftp server and have created:

/var/ftp/pub/upload - a write-only directory where anonyous ftp users can xfer files, but not view files
and
/var/ftp/pub where they can download (read) but not write files

drwxr-xr-x 2 root root 4096 May 5 21:19 /var/ftp/pub/download
drwx-wx-wx 2 root root 4096 May 5 21:00 /var/ftp/pub/upload

Now I would like to make it simple for my Windows PC users to read and write to those directories via a samba share. As a guest samba user I am asked for a password which I don't know how to answer.

As a Windows PC user with a linux account, I can view the shares from my PC, but I can't read from pub/download, and I get an 'Access denied' error when I try to open pub/upload.

This ftp/samba combination would seem to be widely useful, but I have been unable to find a guide to the proper combination of linux owner/permissions + sambe.conf settings which could effect this setup.

Suggestions would be welcome.

Thanks.


All times are GMT -5. The time now is 01:21 PM.