Re: File permissions set when uploaded using file manager

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: File permissions set when uploaded using file manager
Дата
Msg-id CA+OCxoxARD15OnyxF6KdoYzO58yMEMqtXM6eYeVcEHs1TEeA_A@mail.gmail.com
обсуждение исходный текст
Ответ на File permissions set when uploaded using file manager  (Yogesh Mahajan <yogesh.mahajan@enterprisedb.com>)
Список pgadmin-hackers


On Thu, 20 Oct 2022 at 10:16, Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:
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. 

If you can detect it's a key reliably, I don't see any reason not to do it automatically. 


--

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Fahar Abbas
Дата:
Сообщение: Re: pgAdmin4 v6.15 candidate builds
Следующее
От: Akshay Joshi
Дата:
Сообщение: [pgadmin-org/pgadmin4]