-
Notifications
You must be signed in to change notification settings - Fork 165
File permission #92
Comments
Hi, there is currently no option to control the file permissions. This is a reasonable feature request. I'll add it to the list. Does anyone else fancy contributing this feature? (see comments in #79 since this is quite similar) |
I'm wondering if it makes more sense to use umask in the script from which you launch gphotos-sync? |
Actually, I just tried and that does not work. If gphotos-sync honoured umask would that be OK? |
I believe the umask is ignored because tempfile tries to be secure https://docs.python.org/2/library/tempfile.html. So I will have to explicitly set the permissions after download completes. |
it would be perfect. Thanks. |
this should be fixed in 2.9.2 (on pypi) please give it a go. Now umask determines the permissions on downloaded files (BUT this only works on Linux) |
Hi Giles, has working correctly! |
Hi, congratulations for this great software.
When the image are saved, in linux environment the file permission is rw- --- --- .
It's possibile to configure the mask, for the folder too?
For example file: rw- rw- -- and folder: rwx rwx x
Thanks
The text was updated successfully, but these errors were encountered: