Your best friend for file transfer.Fetch
what are and how to change default file mod permissions? (2 posts)
- Started 10 months ago by mfvega
- Latest reply 10 months ago from Jim Matthews
We have been investigating *nix file mod permission problems for some of our non-technically-oriented Fetch SFTP user groups who regularly need to create/alter/delete files and folders on our web servers, and it seems that Fetch by default is setting file mod permissions to '644', thereby preventing other members of the group from overwriting or deleting any files/folders they don't personally own. We can't seem to find any option in Fetch to change these defaults and, although we can (and have had to) show these users how to change permissions one file at a time, we prefer to configure Fetch for them with default settings that allow for group work. Am I missing something? Or is this functionality not available in Fetch?
Jim Matthews Administrator
Fetch does not set permissions on uploaded files, so they get the default permissions assigned by the SFTP server. If you are using the OpenSSH SFTP server you can change that default by adding an option to the sshd_config file on the server; see this blog post for details:
- Page 1