permissions

C# file creation - how to grant IUSR DELETE?

人走茶凉 提交于 2019-12-20 06:28:44
问题 I've got a console program written in C# which runs under user foo. The program creates a file. In some situations a web application running under the IUSR needs to be able to delete the files created by the console app. I'd like to grant DELETE (or anything equivalent) to IUSR when the file is created. How can I do that in C# ? I've found FileIOPermission and I'm not sure what that's for but as you can't specify a particular user I'm pretty sure that's now what I need. Anyone got a good

Run Docker as jenkins-agent, in a docker-container, as non-root user

…衆ロ難τιáo~ 提交于 2019-12-20 06:27:06
问题 Simular Questions Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock How to solve Docker permission error when trigger by Jenkins https://github.com/jenkinsci/docker/issues/263 Dockerfile FROM jenkins/jenkins:lts USER root RUN apt-get -qq update && apt-get -qq -y install --no-install-recommends curl RUN curl -sSL https://get.docker.com/ | sh RUN usermod -aG docker jenkins USER jekins Terminal command docker run -p 8080:8080 -p 50000:50000

Has anyone come across this php error before, Warning: imagejpeg()?

北慕城南 提交于 2019-12-20 06:21:45
问题 Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/SITENAME/public_html/files/cache/052f225905c1618003df0c5088aec7a9.jpg' for writing: Permission denied in /home/SITENAME/public_html/concrete/helpers/image.php on line 172 I emptied the cache directory and still no luck, and if I change the permissions on the cache folder then I get another error and I can't use the site at all: Warning: require_once(Zend/Cache/Backend/File.php) [function.require-once]: failed to open stream: No

Starting a service in ASP.NET/C# with the right permissions

拈花ヽ惹草 提交于 2019-12-20 06:02:49
问题 on my website (written in ASP.NET/C#) I want the moderaters to be able to start a certain service. The code I have for this is: ServiceController svcController = new ServiceController("InvidualFileConversion"); if (svcController != null) { try { svcController.Stop(); svcController.WaitForStatus(ServiceControllerStatus.Stopped, TimeSpan.FromSeconds(10)); svcController.Start(); } catch (Exception ex) { // error } } Now when I run this I get the error "Cannot open InvidualFileConversion service

Facebook email permission ios

本小妞迷上赌 提交于 2019-12-20 06:01:08
问题 very confused - have made several apps which login with Facebook - latest one doesn't work - in all my apps i have a FBLoginView in storyboard then in ViewDidLoad self.facebookLogin.readPermissions = @[@"public_profile", @"email", @"user_friends"]; [self.facebookLogin setDelegate:self]; along with all the basic delegate methods - all the methods are called correctly however it only seems to request public_profile and not anything else - like 2014-06-02 23:35:33.994 TheCooKPot[3997:60b]

how does permission works to run sbin command on mac..?

此生再无相见时 提交于 2019-12-20 05:59:18
问题 i'm using mac os x and i was trying to run shutdown command but it says i'm not a superuser. However, i could run ifconfig without being super user. Both command are in /sbin. And my PATH environment variable include /sbin ( is that why i can run ifconfig..?). From what i have found, it says that /sbin for scripts with superuser (root) privileges required. But i'm not quite sure about this explanation.. I'd appreciate all your help.. 回答1: it means that you must be superuser (the owner of the

Setting folder permissions in Windows via PHP

笑着哭i 提交于 2019-12-20 05:42:27
问题 Is there a way to properly set folder permissions via PHP on a Windows filesystem, such as granting user A full access, and user B read-only on folder \\fileserver\shares\users\A\ I can't seem to find any PHP functions for Windows filesystems for PHP Any ideas? 回答1: Despite using the Unix file permission syntax, PHP's chmod() function does work in Windows (I just tested it). If your user A was the file owner and user B wasn't then it would be easy to grant one set of permissions to user A and

Permissions Issue running SSIS package from Sql Job

别等时光非礼了梦想. 提交于 2019-12-20 05:28:28
问题 I have an SSIS package deployed to Sql Server 2008. This package runs fine in BIDS as well as from the server within the stored packages directory. As soon as i tie this package to a sql job i start to see permission issues accessing a specific file from within the SSIS package. So through my research i see that using a proxy account may be the solution to my problems. These are the steps i have taken so far: Setup an Active Directory User Account Under Security - Credentials - Created a

Permissions failure with Execution API from Android app

坚强是说给别人听的谎言 提交于 2019-12-20 05:10:51
问题 I am able to successfully get the Execution API Quickstart to work for accessing filenames. But augmenting the Quickstart script to use Spreadsheet functions triggers an error of type "No authentication challenges found". The addition of DriveApp.getFilesByName() does not cause any permissions problems, it is the addition of SpreadsheetApp.create() that triggers the error. Saving the augmented script generates a message that the script requires additional permissions. I have tried: creating

Permission issue changing user password using Azure AD Graph client API

别等时光非礼了梦想. 提交于 2019-12-20 04:37:32
问题 I am trying to create a page in ASP.Net MVC to reset the current user's password. I am using Azure active directory for user authentication. To access, the user's AD information, I am using the C# Graph API client. My code is based on a sample found on GitHub I am able to make changes to the user's information (such as city, state, email). However, when I attempt to change the password using the PasswordProfile attribute on the user object, I am getting an error saying I have insufficient