permissions

FileSystemWatcher - minimum permissions needed on target directories?

大憨熊 提交于 2019-12-10 18:44:34
问题 Using the .NET FileSystemWatcher http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx to monitor a directory full of files for : Changed; Created; Deleted; Renamed events . What's the minimum the rights the Account running the FileSystemWatcher needs over the directory it's watching ? It seems like it would be READ but I can't find that documented anywhere. Thanks 回答1: The underlying API is ReadDirectoryChangesW. The only thing mentioned in the MSDN Library article for it

phpmyadmin error 13 permission denied

a 夏天 提交于 2019-12-10 18:26:24
问题 I was working with my php server & phpmyadmin for MYSQL. I wanted to install some packages with composer, than somehow I changed permissions on my project folder and than database from phpmyadmin disappeared. I lost everything. I am trying to recover it for 3 hours. I am receiving these errors when I am trying to import create_tables.sql #13 - Can't get stat of './phpmyadmin' (Errcode: 13 - Permission denied) and Warning in ./libraries/dbi/DBIMysqli.php#261 mysqli_query(): (HY000/1018): Can't

“The caller does not have permission - google-apps-script”

烂漫一生 提交于 2019-12-10 18:26:18
问题 I am trying to create an extension to google classroom using google-apps-script but I seem to be running into permission problems- "the caller does not have permission". Can someone tell me why this is happening and what I need to do I have tried accessing all the libraries provided by google cloud platform hoping that one of them gives the permission that is required all to no avail. function listCourses() { var optionalArgs = { pageSize: 10 }; var response = Classroom.Courses.list

Vagrant folder permissions using nginx

萝らか妹 提交于 2019-12-10 17:44:50
问题 I am new to vagrant and having issues getting working correctly. It is running fine with port forwarding and I can access it. However I am having trouble getting bower and gulp to work correctly. The issue seems to stem from the /var/www directory being owned by www-data/www-data. The vagrant user doesn't have write permissions to any of the directories even after adding vagrant to the www-data group. I am no even able to use sudo chmod to add the write permission to any file. I get no access

How to give blackberry application all the available permission?

跟風遠走 提交于 2019-12-10 17:25:56
问题 I'm developing using JDE 4.5 which doesn't contain the PERMISSION_RECORDING, and it's denied by default in 4.6 and higher devices. So I want my application to have this permission or all the possible permissions that it can get. Thanks in advance. 回答1: You can't set app permissions pro grammatically. What you can do is force Request Permission dialog to appear, see How to - Display custom messages in the request permission dialog So what you can do is do some test recording on application

Is there any reason files in apache's www-root must be owned by root user in a sandbox?

天涯浪子 提交于 2019-12-10 17:04:08
问题 I'm troubleshooting a permissions problem which could be solved if all files in Apache's root folder were owned by a user not "root". Since this is a sanbox and I'm the only one playing in it, there isn't any human conflict. Will I silently break something if I make this change? I've never questioned that files outside of the /home are owned by any other user than the system's root user account. Most of the time changing permissions does indeed break things, but the thought. OHHH. How naughty

Changing default file permission on redis dump

最后都变了- 提交于 2019-12-10 16:17:39
问题 I have a cron job, which is running under a user called 'deployer' with limited access. The cron job is performing a backup of my redis database resulting in a dum /var/lib/redis/dump.rdb. Now the cron job now tries to perform a /bin/gzip -c /var/lib/redis/dump.rdb > /home/deployer/Backup/.tmp/redis_backup/databases/Redis/dump.rdb.gz before shipping it off to S3. The problem is, that the permissions on /var/lib/redis/dump.rdb is -rw-rw----, so I get the following error: gzip: /var/lib/redis

Valgrind cannot execute memcheck tool on Android OS?

青春壹個敷衍的年華 提交于 2019-12-10 16:14:22
问题 I've compiled Valgrind for ARM using this with minor alterations. After installing on a phone with the method specified, I get the following error: # /data/local/Inst/bin/valgrind valgrind: failed to start tool 'memcheck' for platform 'arm-linux': Permission denied On closer investigation, it is possible to find what it's trying to do: # /data/local/Inst/bin/valgrind -d -v --25068:1:debuglog DebugLog system started by Stage 1, level 1 logging requested --25068:1:launcher no tool requested,

Save granted permissions across conversations in a Actions on Google app

狂风中的少年 提交于 2019-12-10 15:55:07
问题 i programming a Actions on Google app where i request the user for permission. All works fine. Now i want to ask the user for permission in his first conversation. When he starts the conversation a second time the actions app should remember that this user granted permissions in the conversation before. So its more comfortable when the user did not have to accept permission every time i starts the conversation. Is there any way to make this possible? 回答1: Short answer: you can't. However ,

Give Read-only access to a git repository

我是研究僧i 提交于 2019-12-10 15:29:49
问题 I'm not sure if this should go here, or on superuser (as it seems to pertain to both topics), so I've put it here, if it's not appropriate, I'll go ask it on superuser. Anyway, I have a git repository that can't go completely open source (otherwise I would just put it on github and be done with it), and I have a server that I have ssh access (but not superuser access) to, this server has all of the git binaries already on it. I need to give someone read-only access to this git-repo (or at