| От | Dave |
|---|---|
| Тема | pgsql database group ownership for client databases |
| Дата | |
| Msg-id | DBEIKNMKGOBGNDHAAKGNAEALOPAA.dave@hawk-systems.com обсуждение |
| Список | pgsql-general |
ISP solution, we want to allow large email quotas, but report overall disk usage
by a particular user group. for example...
client group is "mygroup"
"mygroup" has a soft quota of 200mb and hard of 250mb
"mygroup" also has two dabases mydb1 and mydb2
we want to include the usage of database files in the usage quota.
this could be simply accomplished by
chown pgsql:mygroup /usr/local/pgsql/data/base/mydb1
chown pgsql:mygroup /usr/local/pgsql/data/base/mydb2
as it doesn't appear that pgsql (the default group for these directories) has
any group permission bits set anyway. This would allow a quota check on the
/usr partition to include any databases storage used by the two databases
I do not believe that this would cause database storage and modification errors
since the pgsql user still has the ability to write into the directories
regardless of mygroup's quota status...
anyone care to sanity check this process for me?
Thanks
Dave
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера