How do I allow a Samba file share to create and edit files in a CurlFTPfs File system

OAC Technology
OAC Technology used Ask the Experts™
on
I'm trying to create a Samba share using a CurlFTPfs mounted folder, when I try creating a file in that share Windows Explorer hangs, but if I create the file using linux utilities on the filesystem itself it works fine.

Here is my samba share's configuration, and fstab scrubbed of sensitive information.

This configuration also works with normal local file systems as well, such as ext4.

[website]
        path = /media/website
        browseable = yes
        inherit acls = yes
        inherit permissions = yes
        create mask = 0700
        directory mask = 0755
        valid users = @"DOMAIN+Authenticated Users"
        admin users = @"DOMAIN+Authenticated Users"
        force user = root
        force group = root
        read only = No

Open in new window


curlftpfs#username:password@ftp.example.com/public_html /media/website fuse auto,user,uid=0,gid=0,allow_other 0 0

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT-Systemelektroniker
Commented:
Hello,

as far as i know is curlftpfs something different than samba...

samba is for sharing folders with windows computers over the smb/cifs protocol and curlftpfs is for mounting ftp servers and their shares into the own filesystem (over ftp)....

what exactly do you want to achieve?
OAC TechnologyProfessional Nerds

Author

Commented:
I have an FTP server that I would like to open as a samba share, so I am mounting the FTP server using curlftpfs and creating a samba share from the directory I am mounting it to so I can upload/download files and folders from windows using the file share.
OAC TechnologyProfessional Nerds

Author

Commented:
We decided to go a different route. Thanks for your help

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial