permissions

Meteor will not run without Sudo?

不羁的心 提交于 2019-12-21 12:29:30
问题 On OSX Yosemite and the latest version of meteor (1.0.1), no matter how many times I uninstall and reinstall it, I can't seem to get it running without sudo. My user account is an administrator account. But meteor refuses to run without sudo. The errors I'm getting are all: -bash: meteor: command not found I've seen a few posts on here with similar problems. I've tried repairing disk permissions with disk utility. I've tried: sudo chown -R $myUsername /usr/local/bin/meteor I'm not sure what

Give user permissions to htdocs in Ubuntu [closed]

大憨熊 提交于 2019-12-21 12:15:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I installed xampp with root permission to opt/lampp folder in Ubuntu.but i cant access htdocs folder and unable to start apache server since the lampp folder has only root permission.How can i solve this and are there any proper way to install xampp in Ubuntu 回答1: To change ownership of htdocs folder run following

Vagrant synced folder permission issue with apache

主宰稳场 提交于 2019-12-21 10:13:14
问题 I'm running a Centos6.4 box. Running vagrant up without the synced folder config in Vagrant file is fine. I can access on my host machine via http://localhost:8080 and it displays the Apache page. I could create index.html in /var/www/html folder and it displays fine too. However after adding the line below in the Vagrant file, visiting the page displays 403 Forbidden You don't have permission to access / on this server. error instead: config.vm.synced_folder "./source", "/var/www/html",

Vagrant synced folder permission issue with apache

我与影子孤独终老i 提交于 2019-12-21 10:12:20
问题 I'm running a Centos6.4 box. Running vagrant up without the synced folder config in Vagrant file is fine. I can access on my host machine via http://localhost:8080 and it displays the Apache page. I could create index.html in /var/www/html folder and it displays fine too. However after adding the line below in the Vagrant file, visiting the page displays 403 Forbidden You don't have permission to access / on this server. error instead: config.vm.synced_folder "./source", "/var/www/html",

Authorization and user roles in Oracle Apex?

时光毁灭记忆、已成空白 提交于 2019-12-21 09:27:27
问题 So Apex has "workspaces", which let you create users of three types - all of which are internal to the organization in nature. Also, there seems to be no way for a developer of an individual site on Apex to have "users" just for his site. Am I missing something? I need to be able to have external (business) users to be able to get access to just some features of the site, for example, accounting can only see pages A and B while executives can see A,B, and C. I need to have ability to have

Cannot resolve method checkSelfPermission

a 夏天 提交于 2019-12-21 07:19:46
问题 I'm trying to make my app ready for Android 6 and now I'm stuck to the point where you need to request and check permissions. I tried the following from the docs: int permissionCheck = ContextCompat.checkSelfPermission(thisActivity, Manifest.permission.WRITE_CALENDAR); The problem is that Android Studio says Cannot resolve method 'checkSelfPermission' . I already included the appcompat and support lib. ContextCompat is known to AS but the method itself isn't known. I don't know what am I

Android Preview M: activity recreates after permission grant

烂漫一生 提交于 2019-12-21 07:15:17
问题 I play around with the Preview M and test my app on it, especially the "saving a file to external storage" part. Before the download/save process starts, i request for Manifest.permission.WRITE_EXTERNAL_STORAGE permission as described on the developer page: https://developer.android.com/preview/features/runtime-permissions.html The dialog occurs as expected: "Allow <AppName> to access photos, media, and files on your device?" Deny / Allow If i hit the "deny"-button, the

Android 6 getAccountName() Missing android.permission.GET_ACCOUNTS

▼魔方 西西 提交于 2019-12-21 07:13:21
问题 I get the following Exception while running on a Android 6 device. java.lang.SecurityException: Missing android.permission.GET_ACCOUNTS This looks like a fairly straight forward exception, but for me it's not. My manifest looks like this: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="..." > <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android

permission.READ_CONTACTS does not seem to work

孤街醉人 提交于 2019-12-21 06:59:50
问题 I'm working on a simple app that browses through the user's contacts. Unfortunately I keep getting the following error: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.HtcContactsProvider2 uri content://com.android.contacts/contacts from pid=27455, uid=10171 requires android.permission.READ_CONTACTS My manifest file looks like this: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com

Error : Can't set user=0/group=0 for . is blocking Aerospike amc installation on Mac OSX

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 06:14:41
问题 I am installing Aerospike 4.0.13 Community edition on Mac OSX Sierra 10.12.4 using the command sudo tar -xvf aerospike-amc-community-4.0.13-darwin.tar.gz -C /Library as mentioned on the Aerospike documentation page here : https://www.aerospike.com/docs/amc/install/mac/osx/index.html. Below is the output i get that shows the error in first line. Can anyone assist what could be wrong and why is even sudo not allowed to change the user and group ?. x ./: Can't set user=0/group=0 for . x .