change and upload file size over 100KBytes will change the acl??

Advertisement

bd7jhh@...
Guest

change and upload file size over 100KBytes will change the acl??

centos8
WINSCP 5.17.6
Transfer protocol: SFTP
Login use: root

the file old acl
getfacl /xxxxxx.php
getfacl: Removing leading '/' from absolute path names
# file: xxxxxx.php
# owner: nginx
# group: nginx
user::rw-
group::r--
other::r--


and use winscp double clike the file and use NOTEPAD++ to modify it.
save!
winscp will upload new content to the file

BUT!!!!!
the file acl user from VH1393 change to "root"
# owner: root
# group: root
user::rw-
group::r--
other::r--

If the file size 10K~50K, use same method to modify and save&upload , the acl will not modify.

Reply with quote

Advertisement

bd7jhh@...
Guest

Re: change and upload file size over 100KBytes will change the acl??

It's solved!
Options->Preferences->Transfer->Endurance-> Disable transfer resume/transfer to temporary file name

bd7jhh@... wrote:

centos8
WINSCP 5.17.6
Transfer protocol: SFTP
Login use: root

the file old acl
getfacl /xxxxxx.php
getfacl: Removing leading '/' from absolute path names
# file: xxxxxx.php
# owner: nginx
# group: nginx
user::rw-
group::r--
other::r--


and use winscp double clike the file and use NOTEPAD++ to modify it.
save!
winscp will upload new content to the file

BUT!!!!!
the file acl user from VH1393 change to "root"
# owner: root
# group: root
user::rw-
group::r--
other::r--

If the file size 10K~50K, use same method to modify and save&upload , the acl will not modify.

Reply with quote

Advertisement

You can post new topics in this forum