• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

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

0
OAC Technology
Asked:
OAC Technology
  • 2
1 Solution
 
JelcinCommented:
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?
0
 
OAC TechnologyProfessional NerdsAuthor 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.
0
 
OAC TechnologyProfessional NerdsAuthor Commented:
We decided to go a different route. Thanks for your help
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now