Avatar of OAC Technology
OAC Technology
Flag for United States of America asked on

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

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

Linux NetworkingWindows NetworkingFile Sharing Software

Avatar of undefined
Last Comment
OAC Technology

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Josef Pospisil

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
OAC Technology

ASKER
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 Technology

ASKER
We decided to go a different route. Thanks for your help
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck