Your best friend for file transfer.

Fetch application logoFetch

what are and how to change default file mod permissions? (2 posts)

  • Started 10 years ago by mfvega
  • Latest reply 10 years ago from Jim Matthews
  • mfvega Member

    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?

    Posted 10 years ago #

  • Jim Matthews Administrator

    Hi,

    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:

    http://jeff.robbins.ws/articles/setting-the-umask-for-sftp-transactions

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 10 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.