Questions tagged [permissions]

Permissions define the operations that authenticated users are allowed to perform on file systems, databases and other computer systems.

Permissions are a series of rules that defines the action that authenticated users of computer systems can do. Permission are employed in several systems, such as file systems, DBMS, apps (iOS, Android, Windows Store, ...) and claims-based identity.

From a programming perspective, we are not interested in how to assign permissions in a particular context (i.e. in a company) but in how these are implemented (which permissions are implemented, in which way we combine them, how they impact performance, ...).

This tag should be used:

  • for questions about how permissions work in a particular systems;
  • for scenarios/problems that involves permissions in a substantial way.

This tag should not be used for asking about the specific permissions that should be assigned in a particular scenario.

Related tags: , , ,

17586 questions
83
votes
7 answers

SQL Server 2012 can't start because of a login failure

I recently installed Microsoft SQL Server 2012 on a fresh Windows 7 installation, but whenever I want to run the server, I get the following error: Error 1069: The service did not start due to a logon failure. The following user is configured to…
xsl
  • 17,116
  • 18
  • 71
  • 112
80
votes
13 answers

Android "Screen Overlay Detected" message if user is trying to grant a permission when a notification is showing

I have Android Marshmallow on a Nexus 6. I am trying to fix the following problem: If a user is trying to grant permission while a notification is showing, a "Screen overlay detected" message gets displayed and the Request Permission dialog…
Alexi Akl
  • 1,934
  • 1
  • 21
  • 20
80
votes
29 answers

Android M permission dialog not showing

I'm currently trying to adapt my application to the new permissions model of Android M. I'm collecting all the permissions I require, then run Log.i("Permissions", "Requesting permissions: " +…
Jens
  • 1,157
  • 1
  • 8
  • 17
80
votes
6 answers

Re-assign host access permission to MySQL user

I have several thousand MySQL users all set to allow access from a specific host. The problem is that now I'm going to have two machines (more in the future) which will need to use the same account to access each of their databases. I'd like a quick…
Nick Jennings
  • 3,853
  • 6
  • 30
  • 45
79
votes
3 answers

Permission denied (publickey,keyboard-interactive)

I tried to connect to planetlab node using ssh. It throws me error like Permission denied (publickey,keyboard-interactive). What does this mean? Here is the verbose of the exception. > OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL > 0.9.8g 19 Oct 2007…
Progress Programmer
  • 7,076
  • 14
  • 49
  • 54
79
votes
1 answer

What parameters are allowed in Desktop web game policy change?

We have a browser based game which uses Facebook Connect through an AppID that we used to run the same game in a canvas until Fb Credits were introduced and we were forced to shut it down. Now, we only use the App the same way as a product page with…
Christopher Lörken
  • 2,740
  • 18
  • 17
79
votes
6 answers

PGError: ERROR: permission denied for relation (when using Heroku)

I've recently gone through the database migration process as outlined here: https://devcenter.heroku.com/articles/migrating-from-shared-database-to-heroku-postgres Now I'm seeing a number of errors in the logs like this: PGError: ERROR: permission…
suttree
  • 1,303
  • 2
  • 10
  • 8
78
votes
18 answers

rsync - mkstemp failed: Permission denied (13)

I have the following setup to periodically rsync files from server A to server B. Server B has the rsync daemon running with the following configuration: read only = false use chroot = false max connections = 4 syslog facility = local5 log file =…
user320487
76
votes
13 answers

Windows 7, update.packages problem: "unable to move temporary installation"?

I am using R 2.13.0 with windows 7, after giving my user full privileges to the R folder (as described here). This allows me to install new packages just fine. However, when using update.packages(), to update existing packages, I keep getting the…
Tal Galili
  • 24,605
  • 44
  • 129
  • 187
76
votes
7 answers

Block direct access to a file over http but allow php script access

I'm loading my files (pdf, doc, flv, etc) into a buffer and serving them to my users with a script. I need my script to be able to access the file but not allow direct access to it. Whats the best way to achieve this? Should I be doing something…
Brandon G
  • 2,733
  • 3
  • 25
  • 24
75
votes
15 answers

XAMPP permissions on Mac OS X?

I installed XAMPP 1.7.3 on Mac OS X 10.6.8 without changing any defaults. The webserver seems to work okay, but the permissions on the htdocs directory are set to "Read only" for everyone other than system. So (a) I have to provide root password…
Andrew
  • 1,222
  • 1
  • 10
  • 14
75
votes
13 answers

Android Marshmallow: Test permissions with Espresso?

The new permissions scheme introduced by Android Marshmallow requires checking for specific permissions at runtime, which implies the need to provide different flows depending on whether the user denies or allows access. As we use Espresso to run…
argenkiwi
  • 2,134
  • 1
  • 23
  • 26
74
votes
9 answers

Presenting camera permission dialog in iOS 8

When my app tries to access the camera for the first time on iOS 8, the user is presented with a camera permission dialog, much like the microphone one for microphone access in iOS 7. In iOS 7, it was possible to invoke the microphone permission…
jamix
  • 5,484
  • 5
  • 26
  • 35
73
votes
7 answers

"restricted" folder/files in OS X El Capitan

After upgrading from OS X Yosemite to OS X El Capitan Developer Preview, I tried to edit /System/Library/LaunchDaemons/ssh.plist to change the default SSH port to a custom one. This is the process I've been using for a couple of years. The problem…
Spencer Müller Diniz
  • 1,318
  • 2
  • 14
  • 19
71
votes
9 answers

adb remount permission denied, but able to access super user in shell -- android

so, i'm trying to push some files to /system on android device (zte) I've rooted, connected with ADB, adb remount -> I get permission denied adb shell su -> I'm able to access shell and create folders etc and edit filesystem (but in shell I can't…
IanO.S.
  • 1,362
  • 1
  • 10
  • 20