How to access granted media_projection thought root? - root

how can I use the root command to grant permission to "media projection" or to another: "screen capture/screenshot"? maybe it's some kind of "activity" you need to run?
I tried to grant permissions, the root commands didn't help. Maybe I just presented them the wrong way

Related

can not change folder permission during installation

i know that people couldn't say that this is trivial, but i have search for days in internet and can not be able to do this.
i am using visual studio 2010 ultimate and have created my setup with setup and deployment of vs 2010.the problem is that i have an application folder which contains my database and which is deployed with my application. When i deploy it in administrator part of computer, all is correct, i devined that it is due to fullcontrol permission of administrator programfiles folder.But when i deploy it in another account, application don't has access to database for writting. i looked for the web site and understood that this is due to programfiles folder permission for others users.So i decide to do another research in order to give more rights to users for this folder.
I finally understood that i can achieve this with authoring tools like robocopy by using custom action or with a command line by just correctly write my custom action. After more researchs, i understood that i can do it with a command line which use robocopy and give folder permission during installation for this custom action or only with custom action.
for custom action, i tried many links, but the best link that i obtained was (How to give Read/Write permissions to a Folder during installation using .NET) without success (i change /folder="[CommonAppDataFolder][ProductName] with /folder="[CommonAppDataFolder][Manufacturer][ProductName] in customactiondata" due to the fact that product name is in my manufacturer folder").i don't understand why this code don't change folder permissions during installing and don't know how i can use robocopy or icalcs in custom action to change folder permissions during installation. my setup and others requirements have been packaged with dotnetInstaller, i dont know if i can be able to continue use it.
please, i greatly need your help to be able to do this
i have solved the problem. After many trying, i understood that i was giving permission to the wrong folder because my documents and database were contained in programfile folder. after understand this, i only change the place to set permission by :/folder="[ProgramFilesFolder][Manufacturer][ProductName]" and permission have been setted.

Asp.net+MsAccess WebApp is not correctly working on the server

On Local Correctly working But on the server;
Only select queries work.How can i fix this?Please Help me.Ty.
You need to grant read/write permissions to the folder that contains the MSAccess database (.mdb/.msacc) file. The easiest way is to grant full permission (only on that folder) to the "everyone" group. Use "explorer" (MyComputer) to set this.

How can I mklink to a file share so that a web can save uploaded files to it?

How can I mklink to a file share so that a web can save uploaded files to it?
My web and file servers are both apart of a workgroup. I don’t care about security and do not want a domain solution.
Originally, I had AWeb with subfolder: Work folder and it’s subfolders with modified permissions for IIS_IUSRS and my AppPool Indentity set as NetworkService... and it works great.
Now, I want to replace the Files folder with a symbolic link to a file share.
C:\inetpub\wwwroot\AWeb\Work\Files
From elevated prompt:
mklink /d “C:\inetpub\wwwroot\AWeb\Work\Files” “\\FileServer\Files”
C:\inetpub\wwwroot\AWeb\Work\Files
This works under my account, but not for NetworkService account. How can I get this to work? I’ve tried some of the solutions in forums like elevating the prompt to administrator then to system using psexec.exe but still no go.
How can I log or check what’s really happening when I get the error that access is denied?
How can could I set the file share access for an account like NetworkService when I have no idea what the password is?
Looks like the best way is to setup iSCSI target and initialator. But would still like to try without.

Server wordpress permissions

please be gentle as my server knowledge is next to none!
I've been asked to make some CSS changes to a wordpress site - fine, I'm good at that! I have all the ftp info and the wordpress passwords, but as I edit files and try and re-upload them using Dream Weaver I get an error that I don't have permission to write to the particular file. So, the first thing I thought to do is right click the file and edit permissions, but as I try and do this I get the same problem of:
An FTP error occurred - cannot put the_file.js. Access denied.
The file may not exist, or there could be a permission problem.
Make sure you have proper authorization on the server and the server is properly configured.
File activity incomplete. 1 file(s) or folder(s) were not completed.
Files with errors: 1
So, my question is - by knowing the ftp details is there any way I can change the permissions, or is it something to do with server configuration that I have no control over? Many thanks
This means that the FTP username you were provided does not have permission to modify files. YOu won't be able to reset the permissions either. You should contact the server admin and have them grant your user account the appropriate permissions to modify files.

wordpress error

i completed my client site in wordpress,then i uploaded this site into client server(FTP) but site is not going to open
this error is occur
"
Warning: fopen(piecemakerXML.xml) [function.fopen]: failed to open stream: Permission denied in F:\inetpub\vhosts\kni.com.my\httpdocs\wp-content\themes\twentyten\header.php on line 133
can't open file"
It's a file system permissions problem. WordPress does not have permission to access that file or the folder it's in. You'll have to change that. Most FTP programs have a CHMOD command built in, or you can shell in to the server, or use the hosting control panel.
Check the permissions of the file to ensure it is at least readable by the owner. And if you also want to write to it, it should be writable
Check out the page on Wordpress about file permissions. It has a pretty good list of example permissions
http://codex.wordpress.org/Changing_File_Permissions
Also Check out wikipedia
And to Change file permissions, do what #Dan said in his answer.

Resources