It may also be important to note that I'm using gpg encryption/decryption on the files. Perhaps something in the decryption process is setting the strange permissions? Any way to get it to set standard permissions?
On Mar 14, 2011, at 2:17 AM, Jim Popovitch <jim...@gmail.com> wrote: > On Mon, Mar 14, 2011 at 03:12, Daniel Stevens <danhstev...@gmail.com> wrote: >> Hi list, >> >> Anytime I run s3cmd get on a file it creates the file with a chmod of 700 >> (-rwx------) which is rather odd. How can I get the file to automatically >> chmod to the standard 644 (-rw-r--r--)? I've tried --preserve and >> --no-preserve among many other things and it gets tiresome following each >> get command with a chmod command to set the desired permission. Is setting >> permission to 700 normal behavior and if so can it be changed in the >> configuration or by any other means to use 644? > > What's your umask set to? > > ~$ umask > 0022 > > more: > http://ss64.com/bash/umask.html > > -Jim P. > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > S3tools-general mailing list > S3tools-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/s3tools-general ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general