Jump to content

Unable to save file to samba/CIFS share

Recommended Posts

errno 22 is EINVAL, and for flock it is documented to return that in errono if attempting to lock something that is not a file.

File locking on a network share can be problematic as even with a common protocol different implementations can behave differently under various conditions, particularly when mixing protocols (though I don't think that is the case here) or connecting a client on one platform to a server on a different platform.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.