Posts

Showing posts with the label file-permissions

RunTime Permission Not Granted When It Exists In Manifest(Android) [duplicate]

RunTime Permission Not Granted When It Exists In Manifest(Android) [duplicate] This question already has an answer here: I am trying to save a csv file to my phone and my target SDK level is 26 so I tried to check run time permissions while running my app. Even though I gave the necessary permissions in manifest file, in my activity checking this permissions return false. How can I fix this? Start of the manifest file <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.something"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> Related part of activity is below public void saveToExcel() throws IOException { String baseDir = android.os.Environment.getExternalStorageDirectory().getAbsolut...

amazon EC2 - How to make wp-config.php to writable?

Image
amazon EC2 - How to make wp-config.php to writable? I'm using Amazon EC2 with Bitnami wordpress. I recently tried to use plugins, they install and activate well, but there are still errors. Those errors look like permission errors. Also, perhaps, how to make the whole wordpress directory writable? I'm only accessing through SSH. Some of the errors: "A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable. Set your wp-config.php to writable and reload this page." From W3 total Cache: Please add the error messages you get back. – Damien Feb 8 '17 at 12:42 one is: " A definition of a siteurl or homeurl was detected in your wp-config.php, but the file is not writable. Set your wp-config.php to writable and reload this page." ...