Can I change the flags used on the "open" statement of an upload operation?
Hi,
I am using the GUI version of Winscp 5.7.7 on Windows 10. When I try to
upload a file to a specific directory protected with nfsv4 acls, the upload
fails with a "Permission denied. Error code: 3 Error message from server:
Permission denied". When I use different clients, the upload succeeds. The
server logs show winscp attempting to open the file with the following flags:
open "/rich/shemp.log" flags WRITE,CREATE,TRUNCATE,EXCL mode 0666
sent status Permission denied
The other clients use flags like the following:
open "/rich/shemp.log" flags READ,WRITE,CREATE mode 0666
open "/rich/shemp.log" flags WRITE,CREATE,TRUNCATE mode 0755
and are successful. With Winscp, I am able to read the directory, delete
files from it, and over-write existing files. My questions are: Can I control
which flags are used on the open statement of an upload? In particular, can I
disable the EXCL flag? And can this be done using the GUI version of winscp?
What is the EXCL flag for?
Thanks.
Rich
I am using the GUI version of Winscp 5.7.7 on Windows 10. When I try to
upload a file to a specific directory protected with nfsv4 acls, the upload
fails with a "Permission denied. Error code: 3 Error message from server:
Permission denied". When I use different clients, the upload succeeds. The
server logs show winscp attempting to open the file with the following flags:
open "/rich/shemp.log" flags WRITE,CREATE,TRUNCATE,EXCL mode 0666
sent status Permission denied
The other clients use flags like the following:
open "/rich/shemp.log" flags READ,WRITE,CREATE mode 0666
open "/rich/shemp.log" flags WRITE,CREATE,TRUNCATE mode 0755
and are successful. With Winscp, I am able to read the directory, delete
files from it, and over-write existing files. My questions are: Can I control
which flags are used on the open statement of an upload? In particular, can I
disable the EXCL flag? And can this be done using the GUI version of winscp?
What is the EXCL flag for?
Thanks.
Rich