mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 15:23:02 +00:00 
			
		
		
		
	Bugfix change permissions during update
This commit is contained in:
		| @@ -290,9 +290,9 @@ def reduce_files(remove_items, exclude_items): | |||||||
|     return rf |     return rf | ||||||
|  |  | ||||||
| def moveallfiles(root_src_dir, root_dst_dir): | def moveallfiles(root_src_dir, root_dst_dir): | ||||||
|     change_permissions = False |     change_permissions = True | ||||||
|     if sys.platform == "win32" or sys.platform == "darwin": |     if sys.platform == "win32" or sys.platform == "darwin": | ||||||
|         change_permissions=True |         change_permissions=False | ||||||
|     else: |     else: | ||||||
|         app.logger.debug('OS-System : '+sys.platform ) |         app.logger.debug('OS-System : '+sys.platform ) | ||||||
|     new_permissions=os.stat(root_dst_dir) |     new_permissions=os.stat(root_dst_dir) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 OzzieIsaacs
					OzzieIsaacs