permissions

How to launch program with user permissions instead of active permissions

I have a C# application which runs and displays a tray icon. I have an installer for my tray application which launches the application after installation. The installer requires admin permissions whereas the tray icon must be run with normal permissions. My installer currently breaks this - when the installed tray application is launche...

sharepoint admin does not have full control

Hi everyone, can anyone help me out here, my sharepoint 2010 admin does not have full control permission on the site collection for some reason, does anyone know how to fix that ? Thank you. ...

Pushing changes in mercurial central repository changes the owner and group

I have a central repository and 3 users with local repositories that pull and push code to the central one. I have a defined user hg and a group called hgusers to which all the 3 users belong to. Every time a user pushes code, some directories and files get their owner and group changed from hg and hgusers to userName and userGroup res...

Wordpress errors on windows IIS hostiing?

I have installed latest wordpress version on my WINDOWS 2003/IIS server, which has PHP support enabled. All goes well except few things: When I am trying to update a plugin automatically from wordpress dashboard, then it gives me this error "Could not remove the old plugin. Plugin upgrade failed." I tried to edit CSS of my theme, but w...

Drupal: Possible to assign view permissions to all cck fields for a node type?

I've created a custom content type: product This product has an image (cck file field) and a few other cck fields that make up it's content definition. By default, when an anonymous user looks at a published product, they do not have permission to view the image or any other cck field. Personally, I don't really want to have to alwa...

Permissions to deploy to multiple environments with Capistrano

What is the proper way to set up Capistrano to deploy a Rails app to multiple environments with different permissions required for each environment? In other words, imagine a typical scenario where a developer makes changes to code and pushes the changes to a testing environment. After testing, a release manager pushes the changes to pro...

UIAlertView like "Turn On Location Services to allow maps to determine your location". Settings + Cancel

I Want to emit this alert: Turn On Location Services to allow maps to determine your location I need both "Settings" and "Cancel" exactly like the "maps" application. "Settings" should open settings->general->location services I didn't find the way to open the settings page. Can you help me? Thanks ...

Is there any tool that provides paragraph level premissions to be set on a document?

Hi guys; I'm in need of a tool/software that provides paragraph level permissions to be set on a document? If you have any idea about this or a similar software please suggest. Thanks ...

What determines if a downloaded file should be saved as read-only or read-write?

When you write some binary data in the http response stream (of Servlet etc) or using the Content-disposition header, what is the factor that determines whether the downloaded file is saved as readonly or has write permissions ? How can we control whether to make it read-only or not? Is that browser/OS dependant? ...

PHP upload permission problem

right guys ive ran into a problem with file permissions with the following upload form. a text file is passed to the upload/ dir by global users. mysite$ ls -l drwxrwxrwx 2 user user 4096 2010-09-24 13:07 upload but as I am not logged in as root, the new file uploaded to the domain saved itself in the upload/ dir with limiting permiss...

php creates folder with 341 permissions

Hey Folks, Didn't got any luck finding an answer on google , so this is my last try before trying other methods. I have a script like this: // get current year and month $cur_year = date('Y'); $cur_month = date('m'); $long_type = $this->getFile_longtype(); $folder = $_SERVER['DOCUMENT_ROOT']."/...

c++ check for writing permissions to file in windows/linux.

hello, i would like to know how can i check if i have write permissions to folder. i'm writing a c++ project and i should print some data to a result.txt file. and i need to know if i have permissions or not. is the check deferent between linux and windows ? because my project finally should run on linux and currently i'm working on vi...

Stored Procedure and Permissions - Is EXECUTE enough?

I have a SQL Server 2008 database where all access to the underlying tables is done through stored procedures. Some stored procedures simply SELECT records from the tables while others UPDATE, INSERT, and DELETE. If a stored procedure UPDATES a table does the user executing the stored procedure also need UPDATE permissions to the affec...

Permissions when using "Execute sp_Executesql"

I have a database where all access is controlled by stored procedures. The DBA would like to avoid giving users direct read/write access to the underlying tables, which I can understand. Hence all updating and selecting of data is done via stored procedures. Basically he has created one role that has EXECUTE permissions to all the stored...

What permissions should I set the sitemap to?

What permissions should I set on the sitemap_index.xml and sitemap.xml on my server? Thanks ...

recursively removing permissions under root folder

Hi i am new to linux platform and now i wanted to remove write permissions of all the php files under my root folder. It would be appreciable if somebody can suggest a solution. thanks and regards tismon ...

What does Git think a file's executable bit's value is?

This is related to another question I recently asked about storing a non-bare repository in Dropbox for easy movement between computers, so it may be helpful to read that question for background. The gist is that the fileMode keeps reporting a diff for some number of files. I can't find a way to reproduce it consistently, but it happens...

when we need chmod +x file.py

i wrote a py script to fetch page from web,it just read write permission enough,so my question is when we need execute permission? ...

php apache root write permission

Can i write /etc/apache2/ directory. I want to create a file with php and apache. But i must root. Is there a way to sudoers? Can do this? ...

Why does my server keep creating new files with 0640 permissions in my PHP fwrite?

I'm using a simple fopen("w") and fwrite setup to write a new file on my server. Recently, this has been arbitrarily assigning 0640 permissions to these files, which means I can't view them from a browser. But it's not happening every time. Can anybody tell me why? What I'm missing here? Here's my code: if ($file=fopen("$filesDir/$yr/$m...