Top "File-permissions" questions

For questions relating to file read/write permissions, user groups, executable bits etc.

Detect underlying cause for java.io.FileNotFoundException

FileNotFoundException is thrown on all sorts of occasions - not necessarily only when the file name is invalid, but also …

java localization file-permissions filenotfoundexception
gpg: WARNING: unsafe ownership on configuration file, $gpg --fingerprint on Ubuntu9.10

I'm getting this error when I run this code. gpg --fingerprint gpg: WARNING: unsafe ownership on configuration file `/home/dylan/.…

ubuntu permissions file-permissions gnupg fingerprint
fopen Creates File, But how to change permissions?

I am creating a new file using fopen. $filename = 'user_data/10.xml'; $openhandle = fopen($filename, 'w+'); Then I check …

php file-permissions fopen chmod chown
Requesting and allowing WRITE_EXTERNAL_STORAGE permission at runtime has no effects on the current session

this is regarding the new model of runtime permissions introduced in Android Marshmallow when requesting Manifest.permission.WRITE_EXTERNAL_STORAGE …

android permissions runtime file-permissions android-6.0-marshmallow
java.io.IOException: Permission denied in Java

I am trying to create a file into the same folder in my project, but I am not able to …

java file permissions file-permissions user-permissions
How to change permissions to certain file pattern/extension?

Using chmod, I do chmod +x *.sh in the current directory but what if I want to change all files …

linux bash unix file-permissions chmod
What user do python scripts run as in windows?

I'm trying to have python delete some directories and I get access errors on them. I think its that the …

python windows file-permissions
How to read the mode field of git-ls-tree's output

$ git ls-tree fb3a8bdd0ce 100644 blob 63c918c667fa005ff12ad89437f2fdc80926e21c .gitignore 100644 blob 5529b198e8…

git file-permissions git-ls-tree
openssh windows bad owner or permissions

I've installed openssh for windows and when I run ssh localhost I get Bad owner or permissions on C:\Users\…

windows file-permissions openssh