On 12/06/2011 01:37 PM, Jim Meyering wrote: > I have a few ways to avoid that: > - change gnupload to set umask 022 > - change gnupload to run chmod go+r on each uploaded file (may not > always be appropriate?)
> I'd prefer to change gnupload. Agreed. Either of the two changes I highlighted above seem reasonable; although the second seems to me to be less prone to failure (changing the umask affects new files, but not existing files with too-tight restrictions), and I can't think of any useful scenario where you _want_ gnupload to push a restrictive permission file into a public location (after all, the point of using gnupload is to share a file with the public) > Opinions, preferences, "get over it!" ;-) Definitely worth a patch. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature