I have a problem where I mount a Windows SMB share under linux with mount.cifs and write to files from my C++ program. This works fine, but as soon as network problems arise (i.e. Windows server disconnect), opening the file with POSIX open() will hang indefinitely. The same happens for the POSIX close() call if the share disconnects while the
Tag: smb
How to get list of files in directory smb libcurl?
I’m trying to get a list of files in the directory with libcurl from the SMB server. But I have a error: If I try to get the file then everything will be okay: Answer It is not currently supported by libcurl. It is however mentioned in the TODO as something that we’d like to see added one day.
How are all files and directories created as root:root in smb mount ( RHEL)? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question