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
5
votes
5 answers

PermissionError: [WinError 5] Access denied

I am trying to call a python program with subprocess, but I get a permission error. I tried running PyCharm as an admin, but it doesn't help. My code: answer = subprocess.check_output("../folder python program %s %s" %(valueA, valueB), encoding =…
QWERASDFYXCV
  • 245
  • 1
  • 6
  • 15
5
votes
2 answers

PolicyException: Required permissions cannot be acquired — what does this error mean

Got this error when trying to load an aspx page: Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the…
Jimmyg
5
votes
6 answers

SQL code not running , getting a "permission denied for schema public" error message

CREATE TABLE student ( student_id INT PRIMARY KEY, nam VARCHAR (20), major VARCHAR (20) ); I'm just running this code and I keep getting a permission denied for schema public message. What does this mean and how can I fix it.?
noobguy
  • 115
  • 1
  • 1
  • 5
5
votes
1 answer

Google Container Registry permission

I am trying to push docker image to GCP, but i am still getting this error: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in:…
5
votes
12 answers

Getting "NoPermissions (FileSystemError): Error: EPERM: operation not permitted" when trying to save/create file on Visual Studio Code

I uploaded "mynewfolder" to Visual Studio Code, but when I do "New File" and write "index.html" under that I get this message: Unable to write file (NoPermissions (FileSystemError): Error: EPERM: operation not permitted, open …
Dave1984
  • 61
  • 1
  • 1
  • 3
5
votes
1 answer

Missing read permission for Zip files created with .net core on Linux

DotNetZip creates zip files with permission 000 (no read, no write, no execute) and thus I cannot easily open them on Linux (Windows Explorer doesn't care about it and opens the file normally). Same code on Windows produces files with read…
Phil
  • 135
  • 9
5
votes
2 answers

Malformed entry 1 in list file

I attempted to download VirtualBox from terminal. Now, when I try to update, or input a command this reads out: tyiese@penguin:~$ apt-get update E: Malformed entry 1 in list file /etc/apt/sources.list.d/virtualbox.list (Component) E: The list of…
TNim
  • 61
  • 1
  • 1
  • 3
5
votes
0 answers

how to provide accessibility permissions to swift apps in development

I am trying to listen for global keyboard events and make my app do specific things when certain key presses are detected. to do this, I would like to use: class ViewController: NSViewController { override func viewDidLoad() { …
5
votes
2 answers

Conda package install [Errno 13] Permission denied while installing conda-forge::protobuf-3.8.0

I have a conda environment with Python 3.6 and something went wrong with my Pytorch installation so I tried to install it again. Towards the end of the installation I get this error: ERROR conda.core.link:_execute(700): An error occurred while…
Bill
  • 10,323
  • 10
  • 62
  • 85
5
votes
1 answer

npm install global not working on mac, Says I don't have permissions? Missing write access to /usr/local/lib/node_modules

I don't have permissions to my node modules files, It is not allowing me to install or update anything globally. I know that using -sudo is not recommended for it can cause problems with permissions later. I thought I could update npm and node to…
Mark Wild
  • 213
  • 1
  • 3
  • 13
5
votes
3 answers

What causes this iOS permission prompt for "use Bluetooth for new connections"?

Since iOS13, our app which uses BLE beacons for location, now gets two Bluetooth related permissions prompts. The first one is understandable and expected: The second prompt is not expected, and we don't know why it's happening. FYI the app is…
O'Rooney
  • 2,878
  • 2
  • 27
  • 41
5
votes
1 answer

Assigning group permissions using to Azure DevOps CLI

I am trying to assign permissions to the "build administrators" group using the cli. The specific permission i want to update is the "Delete Team Project" permission. The documentation is a little difficult to put together since the information is…
james
  • 617
  • 7
  • 25
5
votes
0 answers

mac Catalina PermissionError: [Errno 1] Operation not permitted

After installing the macOS Catalina update, I can't work with my program anymore (Spyder GUI). I want to read files which are not in the current workspace and perform operations on them. When reading the file directory, I get this…
5
votes
2 answers

How to open Perl file handle to write data via sudo (or as another user)

I'd like to write data to a file, but the file handle should be opened with access permissions for a specific user. Thus, the following statement: open (FH, "> $filename") or die "$@\n"; would allow writing to a file as that particular user. Is…
Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
5
votes
1 answer

What is the recommended best practice to separate public and private APIs in graphene-django?

I have seen a number of discussions on how to implement a permission system in graphene, but have not seen any definitive practical outcome beyond these discussions. Some examples of discussions on this topic are: Permission System How do you…
martasd
  • 111
  • 1
  • 1
  • 8
1 2 3
99
100