|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
[6.6] postgresql .lock: Permission denied
Hi,
Today I install postgresql server on OpenBSD 6.6 server. Into file postgresql.conf, I set socket_unix_directories, as: Code:
unix_socket_directories = '/var/www/tmp/postgresql, /tmp' Quote:
Code:
# ls -al /var/www/ | grep tmp drwx-----T 3 www www 512 Mar 4 01:00 tmp/ # ls -al /var/www/tmp total 12 drwx-----T 3 www www 512 Mar 4 01:00 ./ drwxr-xr-x 13 root daemon 512 Mar 4 00:35 ../ drwxr-xr-x 2 _postgresql www 512 Mar 4 01:00 postgresql/
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|||
After inform me about sticky bit, I chmod /var/www/tmp to 1705; and the service postgresql starts correctly!
But, why by defaut, folders cache and tmp are rights to minimalist 1700???
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|||
no. I think when I installed pkg php-7.3, no?!
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
||||
Good catch! That PLIST contains:
Code:
@sample ${CHROOT_DIR}/tmp/ Stuart's Email can be obtained with $ pkg_info php-- , note the two dash characters.
Last edited by jggimi; 4th March 2020 at 10:18 PM. Reason: added a way to get sthen@'s Email address |
Tags |
denied, openbsd, permission, postgresql |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Permission denied on OpenBSD 6.1 | notooth | OpenBSD Security | 5 | 18th May 2017 09:15 PM |
Commit to pkgsrc-wip - Permission denied | darktrym | NetBSD Package System (pkgsrc) | 1 | 5th June 2016 08:45 PM |
sendmail, mqueue : permission denied | wesley | General software and network | 1 | 20th January 2011 02:30 PM |
Permission denied (publickey). Help pls | rex | FreeBSD General | 13 | 14th October 2008 08:54 PM |
Permission denied | delboy | FreeBSD Ports and Packages | 11 | 24th May 2008 09:26 PM |