File permissions set when uploaded using file manager - Mailing list pgadmin-hackers

From Yogesh Mahajan
Subject File permissions set when uploaded using file manager
Date
Msg-id CAMa=N=NQkGNpaX6gAN2sF3_MfcBGL-rADCQKRPwy9X6NrEAZ7A@mail.gmail.com
Whole thread Raw
Responses Re: File permissions set when uploaded using file manager  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Dave/Team,

When files are uploaded using file manager, access permissions of the file are set to 644.
However, the key file used while connecting to postgresql using SSL, should have access permission 600 or less.
To fix this issue the user has to explicitly modify file permissions via command line.

In server mode, if the user does not have command line access to the pgadmin server, the user is not able to modify permissions.

Should pgadmin set permission to key files to 600 or less? 
OR should this be documented as 'Todo' for administrator. 



Thanks,
Yogesh Mahajan
EnterpriseDB

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: [pgAdmin4][Patch]: Psycopg3 Fixes
Next
From: Fahar Abbas
Date:
Subject: Re: pgAdmin4 v6.15 candidate builds