Category "permissions"

Saving files in Android 11 to external storage(SDK 30)

I am writing a new Application on Android 11 (SDK Version 30) and I simply cannot find an example on how to save a file to the external storage. I read their d

Ubuntu 20.04 - Stopped MySQL. Now it won't start (error 13, permission denied)

Running a DigitalOcean LAMP Stack (1GB VPS) on Ubuntu 20.04, I was getting intermittent "Error establshing a database connection" errors in Wordpress when uploa

Powershell - how to check if installation is running in user or system context

I have packaged an application with the App Deployment Toolkit. I install the application with the command: Start-Process -FilePath $setupx64 -ArgumentList "/si

How to solve permission problems when using GitLab CI Runner with Docker and non-root user?

I am using a GitLab CI Runner with Docker. My dockerfile looks as follows: FROM node:lts-buster-slim # Install docker dependencies RUN apt-get update RUN apt-g

<Geolocation API> "granted" on Firefox BUT "denied" on Chrome

Greetings, I am facing the following issue; question will follow after. I have a production application using the Geolocation API from the navigator: Yes =>

In Django, how to restrict access to a template to users based on their department_name. Each user belongs to certain department

I have the below model. Departments, users. Users are assigned to a department. How can I restrict the access of templates based on the department_name of a use

Crash when permission changed manually

Flutter app crashes when user manually changing location perimssion from allow to deny. Is this a normal behavior ?, i've tried to change manually the permissio

Alternative to requestLegacyExternalStorage and MANAGE_EXTERNAL_STORAGE for Public Folders in Android 10/API 29?

I have an Android app on the play store that publishes data to a simple .txt file and lets you share using any other app of your choice. It used to write direct

Python script when scheduled gives PermissionError: [WinError 5] Access is denied

I have .bat file which I want to run by task scheduler. Bat file has something like: "C:\Python3\python.exe" "%PATH_to_script.py" And when I try to run this fr

No permissions found in manifest for: []22 - Flutter

I'm trying to get storage permission from the user. Below is the sample (copy-paste) code. But I'm getting error when I'm trying to request the permission. D/pe

expo location permissions work on android, but not on iOS

I have a react-native app that uses expo. The location permissions work on android, but not on iOS. On a real iPhone (iOS version 14.4.2), it does nothing. On a

Trouble asking for permission with Expo Image Picker

I am trying to use Expo-image-picker with a react-native application. Here is my code: const openCamera = async () => { const permissionResult = await Im

What is the "k8s can-i" equivalent in azure graph

I've created an app and configured its permission as in this document: https://docs.microsoft.com/en-us/graph/migrate-azure-ad-graph-configure-permissions Now,

Visual Studio Code and git : Permission denied to X

I have 2 github account X (professional one) and Y (personal one). On my personal computed, I used both account, with Visual Code. But now, when I try to push

mediaDevices.enumerateDevices() returns empty deviceId even after getting permissions

The problem I have has been discussed in several questions on this site: When I call mediaDevices.enumerateDevices(), the field deviceId is empty. The best ques

Apache/PHP Correct permissions for uploading a binary that runs server side?

I've prepared a PHP browser interface (like a modem interface) for an embedded system, that is supposed to help manage the core application (uploading a new bin

How do ask a permission for open a gallery in android phones using flutter

I have using image_picker: ^0.8.4+11 for open a gallery. I need to ask a permission for open a gallery. In iOS it ask a permission to open a gallery but Android

Not enough permissions to access: GET /me

I'm working the linkedin API. After following the documentation, I 'm getting the access Token. Then, I'm trying to get the logged in user data, but I have

How can I combine permissions in `strawberry` with logical OR rather than AND?

i'm using strawberry to great success. however, there is one scenario that i would like to achieve: @strawberry.mutation( permission_classes=[ IsAuthenticated,

Trying to delete all shared memory and semaphore arrays in ipcs but get permission denied?

Can't find this anywhere online but when trying to delete semaphore arrays and shared memory using ipcrm -m id. I get this error permission denied for id (<i