permissions

Permission dialog is not shown for WRITE_EXTERNAL_STORAGE

这一生的挚爱 提交于 2019-12-11 16:56:30
问题 I want to download a file using DownloadManager . And DownloadManager wants to WRITE_EXTERNAL_STORAGE permission. I have included the WRITE_EXTERNAL_STORAGE permission in AndroidManifest.xml . Furthermore, I try to take this permission on runtime. onRequestPermissionsResult callback is called immediately after the request permission. The request permission popup didn't display. However, the value of the grantResult[0] on the onRequestPermissionsResult is PERMISSION_DENIED . But THE PERMISSION

Wget cannot write files when run with a new user. How to fix it?

限于喜欢 提交于 2019-12-11 16:56:21
问题 I had a user account in Ubuntu called my_account . Then I created another account called test_account . When I do wget in my_account , it works: my_account@my_machine:~$ wget --no-check-certificate https://hdfs_server:50470/webpage.html#tab-datanode --2018-02-09 14:37:30-- https://hdfs_server:50470/webpage.html Resolving hdfs_server (hdfs_server)... 192.168.xx.xx Connecting to hdfs_server (hdfs_server)|192.168.xx.xx|:50470... connected. WARNING: cannot verify hdfs_server's certificate, issued

Thread permissions in ASP.NET

你。 提交于 2019-12-11 16:36:13
问题 I'm launching a lengthy import on a new thread in an ASP.NET page. Everything is working fine except that I get a failed IO permission when I try to write to my log file from the worker thread, which is not a problem in the primary thread. I am using IIS7 integrated mode without impersonation, although I got the same results with impersonation in classic mode. The problem is almost identical to this one, only I have no Response.Redirect and see no applicable fix in the accepted answer. EDIT:

Permission denied to access /var/run/docker.sock mounted in a OpenShift container

爷,独闯天下 提交于 2019-12-11 16:19:26
问题 Objective Know how to trouble shoot and what knowledge is required to trouble shoot permission issues of Docker container accessing host files. Problem Access to /var/run/docker.sock mounted inside a OpenShift container via hostPath causes permission denied. The issue does not happen if the same container is deployed to K8S 1.9.x, hence it is OpenShift specific issue. [ec2-user@ip-10-0-4-62 ~]$ ls -laZ /var/run/docker.sock srw-rw----. root docker system_u:object_r:container_var_run_t:s0 /var

What the right way to sign activex control and grant permission

点点圈 提交于 2019-12-11 15:36:38
问题 I have activex C# control for IE. That contol downloaded from some host. Control does some work that needs special permissions(IE shows window with information that my control cannot do operation without permission). I spend a lot of time googling and reading many topics about similiar situations. I understood that I must do following things: 1. Sign control assembly with strong key. 2. Grant permission to assembly. I generated strong key with VS2010 tools. After that my control stopped

Sql server permissions to use symetric keys && certificates?

我怕爱的太早我们不能终老 提交于 2019-12-11 15:34:53
问题 I would like to implement certificates on my sql server in order to encrypt data. Users need abilty to open symetric key and to use the certificate in order to encrypt and decrypt data. What the minimum permisdions i need to grant them ? Also, in a scenario where a hacker got my mdf file , can he do something with data ?( if i put the permissions you gave me) 回答1: We had the same issue. We solved it by granting the user (who was only in the db_datareader and db_datawriter roles) explicit

Why isn't mmap closing associated file (getting PermissionError: [WinError 32])?

本秂侑毒 提交于 2019-12-11 15:33:54
问题 While experimenting with some of the code from the Reading Binary Data into a Mutable Buffer section of the O'Reilly website, I added a line at the end to remove the test file that was created. However this always results in the following error: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'data' I don't understand this behavior because the with memory_map(test_filename) as m: should implicitly close the associated file, but

Either the user, 'IIS APPPOOL\App Name', does not have access to the 'SSAS Cube Name' database, or the database does not exist

孤街浪徒 提交于 2019-12-11 15:08:39
问题 1st - I deployed the cube to localhost using SSAS (SQL Server Analysis Services) 2nd - I verified the cube database exists using SSMS (SQL Server Management Studio) even tough the SSAS DB is not showing in SSMS 3rd - I tried to grant permission to my IIS APPPOOL following this answer 4th - I added a new connection in SSMS to Analysis Services in localhost server (instead of a connection to the database engine in the localhost server) 5th - I realized that the process for granting permissions

Permission denied inside /var/www/html when creating a website and it's files with the apache2 server

走远了吗. 提交于 2019-12-11 14:42:28
问题 UPDATE** The screenshot is within atom, but when I navigate to the directory using the file explorer, and right click, the option to rename or create a new folder are restricted and I cannot click on them. I just finished setting up the LAMP stack on my fresh UBUNTU 18.04 installation. I have everything working, the default /var/www/html/index.html page from Apache2 is being served on localhost, no port forwarding or any unique domain name, i just wanna run this on my network from my computer

how to change permission for the service account in azure's sql management portal

情到浓时终转凉″ 提交于 2019-12-11 14:37:47
问题 I want to delete an entry from my sql table, through Azure's sql management portal. When I query "DROP USER "XXX" " it says "Cannot drop the user 'XXX', because it does not exist or you do not have permission." Where can I change permission for the service account to delete entries from table? 回答1: I'm assuming this question is related to your previous question (how to delete an entry from azure sql?). DROP USER will try to remove a user which has access to your database, this has nothing to