Questions tagged [file-permissions]

For questions relating to file read/write permissions, user groups, executable bits etc. Be sure to include a tag for the operating system (Windows or Unix) and tag for operating system version.

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

Related tag:

Filesystem permissions on Wikipedia

3073 questions
1
vote
1 answer

How to Power Query Windows folder-share security/access permissions?

We have a folder on a shared-drive which contains many subfolders containing live Excel-based reports. These reports should only be available to particular users and groups, as managed through Active Directory. To ensure our security model is solid,…
1
vote
0 answers

ServiceRoute: PUT webservice not working

I want to create me WCF services from code with a WebServiceHostFactory like this: RouteTable.Routes.Add(new ServiceRoute("API", new WebServiceHostFactory(), typeof(MyService))); so I won't need any .svc file. This works until I try to call a PUT…
jansepke
  • 1,933
  • 2
  • 18
  • 30
1
vote
1 answer

Issue with Wordpress Folders on Google Compute Engine

I'm migrating a WordPress site to Google Cloud using Click To Deploy. All as gone well so far except a folder permissions problem when migrated the current sites wp-content folder. Steps I took to make this work... I set up a new WordPress install…
1
vote
2 answers

Jenkins Linux file access or group issue

I'm facing a strange file access issue. Linux system is RedHat 5.5 On this machine, when I log in as the given user: deploy_user, I can see that I have valid access to /path/to/the/folder/subfolder/file.txt ls -l /path/to/the/folder shows (this…
AKS
  • 16,482
  • 43
  • 166
  • 258
1
vote
1 answer

Android API below 19 equivalent for ContentResolver takePersistableUriPermission

I use this to let the user select file, after the selection I store in shared prefs only the URI of the file. In the future the user can open this file - So I have the URI and therefore it can be done final Intent intent = new Intent(); …
michael
  • 3,835
  • 14
  • 53
  • 90
1
vote
1 answer

upload a file with the same name

I want to upload a file from my android application. The first time it happens successfully but the second time if I want to replace the file it won't do anything.
Bruno
  • 299
  • 1
  • 7
  • 23
1
vote
1 answer

Linux permissions - user vs group permission

I know that the permissions listing are for user , then the group and the third one is for other users. my example : _rwxr--r-- tooth face file1.txt _rwxr--r-- eye face file2.txt _rwxr--r-- leg face file3.txt groups included tooth : face head eye…
smilyface
  • 5,021
  • 8
  • 41
  • 57
1
vote
1 answer

How can I locally debug file permission issues in Visual Studio?

I want to debug an ASP.Net website as it attempts to write a file to a directory. When actually deployed this file would possibly not be writeable by the worker process so an error would be thrown, this is not a problem as I just want to catch the…
robertc
  • 74,533
  • 18
  • 193
  • 177
1
vote
1 answer

How to check whether folder exist in external Storage in Android?

String fldr= "Main"; I need to find whether there is a folder called fldr in anywhere in the directory. This will return the Directory of External storage String SDpath = Environment.getExternalStorageDirectory().toString(); If there is a folder…
1
vote
1 answer

Best practice for web server user/group permissions

What's the best practice in a secure manner to setup the user/group and permissions? Here's what we currently have; web server runs as www/www. Fastcgi Php runs as www/www. User's shell/ftp account is username/username. We want the user to be…
Poe
  • 2,971
  • 6
  • 30
  • 38
1
vote
2 answers

Set permissions for all files and folders recursively (Zend Framework 2)

I want to set permissions for all files and folders recursively in ZF2. My directory path is /var/blabla/blabla/blabla/public/files/filename I want to set 0777 permisson for the main folder. I.e. foldername and all the contents of the folder. I am…
1
vote
0 answers

PHP not able to execute program, though permission available to www-data

I have a PHP-code which is as follows:- When, I execute this PHP file through browser, no output appears on the browser window.…
AvinashK
  • 3,309
  • 8
  • 43
  • 94
1
vote
2 answers

Unable to create external file - EACCES (permission denied)

When trying to create a simple .txt or .xml external file (NOT on SD card), my app is throwing a FileNotFoundException. If I let the system pick the path (returns /storage/emulated/legacy) it throws EACCES (permission denied). Same as when I set…
1
vote
1 answer

Fix permissions for website directory mac osx 10.9

I have apparently messed up the permissions of my development environment and can no longer get the web site i'm working on to come up with localhost. There are a lot of files to fix and I do not want to have to try to fix them all manually through…
1
vote
2 answers

File Security on Windows Vista with .NET Installer

I am trying to write an installer (by creating a .vdproj) that will work on both Windows Vista and XP. The only thing I am finding is that when I try to run it on Vista, the files that I include in the installer are installed with Read-only…
skb
  • 30,624
  • 33
  • 94
  • 146