मैं एल कैप्टन पर homebrew के माध्यम से PostgreSQL 9.5 स्थापित करने के बाद initdb /usr/local/var/postgres
चलाने का प्रयास कर रहा हूँ, लेकिन मैं निम्नलिखित हो:initdb/usr/स्थानीय/var/एल कैप्टन पर postgres
The files belonging to this database system will be owned by user "kyledecot".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /usr/local/var/postgres ... initdb: could not change permissions of directory "/usr/local/var/postgres": Operation not permitted
cd /usr/local/var/postgres
मैं प्राप्त करने का प्रयास करते हैं :
cd: permission denied: /usr/local/var/postgres
ऐसा प्रतीत होता है कि मेरे पास ऐसा करने की उचित अनुमति नहीं है। मुझे लगता है कि इसमें डब्ल्यू/एल कैपिटन के System Integrity Protection करने के लिए कुछ है लेकिन मैं गलत हो सकता था।
मैं इसे ठीक करने के बारे में कैसे जा सकता हूं?
कमांड को "पोस्ट इंस्टॉल" के बजाय "पोस्ट इंस्टॉल करें" का उपयोग करना चाहिए –