Search found 9 matches

by zoushenliang
14 Nov 2020, 04:45
Forum: General Discussion
Topic: sftp issues permissions on new files or folders
Replies: 2
Views: 572

Re: sftp issues permissions on new files or folders

Thank you for your response. What I'm trying to say is that if the parent directory has facl permissions, or the group in the parent directory has SGIDs set, then newly created directories and files will not inherit these features.
by zoushenliang
04 Oct 2020, 09:38
Forum: General Discussion
Topic: sftp issues permissions on new files or folders
Replies: 2
Views: 572

sftp issues permissions on new files or folders

When creating a new file or folder, can the permissions set by sftp be changed to inherit the permissions of the parent folder?
by zoushenliang
28 Jun 2020, 05:23
Forum: General Discussion
Topic: Compilation Error Help
Replies: 1
Views: 1340

Compilation Error Help

afs/sftp.cpp:67:50: error: ‘MAX_SFTP_READ_SIZE’ was not declared in this scope
67 | const size_t SFTP_OPTIMAL_BLOCK_SIZE_READ = 8 * MAX_SFTP_READ_SIZE;
by zoushenliang
22 May 2020, 09:45
Forum: General Discussion
Topic: about sftp umask setting
Replies: 2
Views: 470

Re: about sftp umask setting


FFS doesn't change the server's umask. Regarding permissions: Not sure if setting permissions for all files is the best solution. Maybe instead, FFS should try to preserve the permissions of existing files:
https://freefilesync.org/forum/viewtopic.php?t=6881


Thank you for your reply.
Yes, it is ...
by zoushenliang
22 May 2020, 08:06
Forum: General Discussion
Topic: curl_wrap.h Compilation issues
Replies: 1
Views: 479

curl_wrap.h Compilation issues

In file included from ../../zen/globals.h:12,
from ../../zen/i18n.h:12,
from <command-line>:
../../libcurl/curl_wrap.h: In function ‘std::wstring zen::{anonymous}::formatCurlStatusCode(CURLcode)’:
../../libcurl/curl_wrap.h:140:41: error: ‘CURLE_QUIC_CONNECT_ERROR’ was not declared in this scope ...
by zoushenliang
22 May 2020, 02:53
Forum: General Discussion
Topic: about sftp umask setting
Replies: 2
Views: 470

about sftp umask setting

Is it possible to let the server decide the value of the umask, or add the option to set the umask. Prior to version 10.19, the value of UMASK was determined by the service. In the current version, whatever value the server has set umask to is invalid, it becomes the fixed value 0022 set by FFS.
by zoushenliang
28 Apr 2020, 10:07
Forum: General Discussion
Topic: sftp umask
Replies: 3
Views: 562

Re: sftp umask

I need group members to have permission to write. The server tried various ways to set the default umask, such as alternate-sftp -u 002, pam_umask.so umask=002, and modify the umask of login.defs to 002. Also I'm using the latest ubuntu server
by zoushenliang
28 Apr 2020, 10:00
Forum: General Discussion
Topic: sftp umask
Replies: 3
Views: 562

Re: sftp umask

Before version 10.19, the server's umask settings were valid, but starting with version 10.20, the server's umask settings are invalid.
by zoushenliang
28 Apr 2020, 05:05
Forum: General Discussion
Topic: sftp umask
Replies: 3
Views: 562

sftp umask

Is it possible to add settings for sftp umask, or to use server system settings instead