permissions

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

本秂侑毒 提交于 2019-12-21 06:13:11
问题 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 .

Edit only owned list items in Windows Sharepoint Services 3.0

只谈情不闲聊 提交于 2019-12-21 05:40:45
问题 Is there a way to limit the "edit item" permission in WSS 3.0 to only allow a user to edit his own documents or list items? We need the ability for a user to edit only documents/list items he creates - NOT items that someone else created. So, essentially we need a sub-set of the EDIT permission as well as ADD. Is this possible in Windows Sharepoint Services 3.0? Is there a way to create custom permissions in code or a feature? 回答1: WSS has a basic UI for setting item-level permission on list

Retrieve Permissions list

我与影子孤独终老i 提交于 2019-12-21 05:09:35
问题 I'm trying to retrieve the permissions of the apps in my device. The weird thing is, for some apps I do get results, and in some of them I can't retrieve any permissions. Maybe in order to get the permissions list of an app, the app has to set some specific flag? Because if I try to get the permission list of my app in this way: PackageManager p = context.getPackageManager(); PermissionInfo[] z=p.getPackageInfo("com.test.myapp",PackageManager.GET_PERMISSIONS).permissions); z is null , but for

Sharepoint: How to programmatically manage SPFolder and SPListItem permissions

有些话、适合烂在心里 提交于 2019-12-21 04:58:15
问题 I want to know if I'm missing something. Here's how I would do it: For SPFolder I would change the associtaed item's permissions (SPFolder.Item). So I suppose managing SPFolder permissions boils down to managing SPListItem permissions. For SPListItem I would frist break role inheritance with SPListItem.BreakRoleInheritance() and then work with RoleAssignments collections adding and removing roles there. I wonder if RoleAssignments is the only way to manage SPListItem's permissions (besides

The file “xxx.mp4” couldn’t be opened because you don’t have permission to view it

守給你的承諾、 提交于 2019-12-21 04:53:21
问题 I use the Alamofire method multipartFormData.append(URL, withName: "file") to upload a video to the server but I've got an error message: multipartEncodingFailed(Alamofire.AFError.MultipartEncodingFailureReason.bodyPartFileNotReachableWithError(file:///var/mobile/Media/DCIM/100APPLE/IMG_0939.mp4, Error Domain=NSCocoaErrorDomain Code=257 " The file “IMG_0939.mp4” couldn’t be opened because you don’t have permission to view it. " UserInfo={NSURL=file:///var/mobile/Media/DCIM/100APPLE/IMG_0939

How to grant identity ApplicationPoolIdentity read rights to folder within my site

微笑、不失礼 提交于 2019-12-21 04:31:25
问题 On our Windows 2008 R2 server I have a site running under the default ASP.NET v4.0 application pool. The identity of ASP.NET v.4.0 app pool is set to "ApplicationPoolIdentity" (I guess this is default). How do I grant this identity access to read from a custom folder within my site. I have tried "Application Pool Identity" and "ApplicationPoolIdentity" but both gives me: An object named "Application Pool Identity" cannot be found. Bonus question = should I instead forget about all this and

How to grant identity ApplicationPoolIdentity read rights to folder within my site

一世执手 提交于 2019-12-21 04:31:12
问题 On our Windows 2008 R2 server I have a site running under the default ASP.NET v4.0 application pool. The identity of ASP.NET v.4.0 app pool is set to "ApplicationPoolIdentity" (I guess this is default). How do I grant this identity access to read from a custom folder within my site. I have tried "Application Pool Identity" and "ApplicationPoolIdentity" but both gives me: An object named "Application Pool Identity" cannot be found. Bonus question = should I instead forget about all this and

How do I add permissions on an AWS SQS Queue?

六眼飞鱼酱① 提交于 2019-12-21 04:26:09
问题 With the following code, I can add a permission using my AWS account number but the queue does not receive any messages from SNS. AddPermissionRequest addPermissionRequest = new AddPermissionRequest(); addPermissionRequest.ActionName.Add("SendMessage"); addPermissionRequest.ActionName.Add("ReceiveMessage"); addPermissionRequest.QueueUrl = queueUrl; addPermissionRequest.Label = General.IpAddressAWSFriendly; addPermissionRequest.AWSAccountId.Add(AWS_ACCOUNT_ID); sqs.AddPermission

How do the CloudKit security roles and permissions work?

只谈情不闲聊 提交于 2019-12-21 03:57:28
问题 There are three default security roles in CloudKit: World Authenticated Creator And three permissions: Create Read Write How do these security roles and permissions work? Here are examples of some of the questions I would hope get answered by an explanation of security roles: What do the three roles mean? The first two seem obvious, but the last one seems less so. E.g. does Creator refer to the creator of the table, or the creator of a record? Where would the deletion permission fall under?

Permission Denial With Broadcast Receiver

吃可爱长大的小学妹 提交于 2019-12-21 03:52:40
问题 I am trying to create an app which enters a log message when I make an outgoing call. However, when I run the code, I get a permission denial, despite the fact that I have entered in the permissions. Denial Log: "09-04 02:35:50.535 1294-1666/? W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.NEW_OUTGOING_CALL flg=0x10000010 (has extras) } to samples.varma.packagecom.testreceive2/.CallReceiver requires android.permission.PROCESS_OUTGOING_CALLS due to sender