permissions

Samba, Apache and SVN. Getting the permissions right.

I have two machines I work on: Windows Client (Development Machine) Linux Web Server (Ubuntu) On the Linux server I have installed Apache, Samba and SVN. I've created a samba share that maps to the htdocs/ directory so that I can access the web files from Windows. The following illustrates my workflow: From command line on Linux ...

Flash: Grant access to webcam programmatically / behind the scenes?

We're building a kiosk app that will have a fairly wide deployment. The app is in Flash running in a browser and requires the use of the webcam. As it stands, each kiosk will show the usual Flash "do you want to allow the use of your camera/microphone" dialog, which I suppose a local admin could click through, choose "remember," etc. Gi...

SQL Server - what permission need to open for view a table schema in a linked server

After creating a linked server on SSMS 2008, how should I see linked server table schema? Should I change any permission on remote SQL Server? Also, what commands can check those permissions for all accounts? Thanks. EDIT: running on SQL Server 2000. ...

how to resolve potential permission problem in oracle

I've got a synonym pointing to a table: -- Create the synonym create or replace synonym my_schema.COLORS_ALL for OTHER_SCHEMA.MV_CAR_COLORS; problem is that I can query this synonym fine: select * from my_schema.COLORS_ALL; however, when I try to use this synonym in a Stored Proc I get an error that table or view does not exist....

StarTeam API Permission

Hello all, I'm developing a client app with C#.NET. I need to get all the Permissions in the StarTeam which are assignable to a Project, View, or Folder. StarTeam Cross Platform users know that there is a dialog named "Access Rights". Categories (Project, View, Folder) are listed at the left side and Permissions are listed at the right...

Unable to reference UNC paths while using wscript.shell from an ASP script?

I'm having a problem executing a command from a command line through an ASP script using the wscript.shell object. Here is my code: inPath = server.mappath("/connect/dev_f_fusion3/video/6EA63679C27E48538D79F7C7295201CF/6EA63679C27E48538D79F7C7295201CF.mov") outPath = server.mappath("/connect/dev_f_fusion3/video/6EA63679C27E48538D79F7C7...

Cross-database view permissions

I'm working with a database (let's call it DB_data) that contains all of the tables for a series of applications. In an attempt to minimize downtime during upgrades, a facade database (let's call it DB_facade) has been created which has a view for each of the tables in DB_data. It also contains all of the functions and stored procedures,...

Permission issues when running JScript from C# Console application.

I'm trying to run a Jscript task from a C# console application. The Jscipt file is not mine so I can't change it. The script moves some files and this is what is causing the issues. When I run the script manually, i.e. form the shell it executes correctly. When I try and run the script from my console application the bulk of the proces...

Excluding list items created by certain users from a list's view

Hi, I have a custom list created in Sharepoint 2007 and displayed by a content query web part. I would like to Show all items to general admin users except those items created by two users. The two admin users need to see all items in the list. The first requirement is easily done by adding a filter to the view on the created ...

Error when attempting to write to event log - Cannot open log for source 'SourceName'. You may not have write access.

We're currently trying to integrate existing classic ASP pages into our new method of logging to the event log. We're achieving this by calling a .NET assembly exposed as a COM object which does the actual logging to event log. This all works correctly, however when we try to write to the event log we get an error "Cannot open log for s...

Anjuta IDE - Simple Python Question

I'm new to Linux, Python and the Anjuta IDE. I have created a new file called hello.py. This is the contents of that file: #!/usr/bin/env python print "Hello World!" All I want to do is run this in the terminal. I go to Run > Execute but I get the following error message: Program 'home/joe/Programming/Python//hello.py' does not h...

Writing a CherryPy Decorator for Authorization

I have a cherrypy application and on some of the views I want to start only allowing certain users to view them, and sending anyone else to an authorization required page. Is there a way I can do this with a custom decorator? I think that would be the most elegant option. Here's a basic example of what I want to do: class MyApp: ...

Test for directory existence in C

I have a function that should create a directory. I want to test to make sure that the directory is created, and has the correct permissions I can't use lstat since I get EPERM when I do so (I assume I'm not supposed to know that much about a directory). So what else should I use? I can try to open it it with opendir, but that doe...

LAMP web server file permissions

Hi SO, I've got a LAMP webserver running my homepage (index.html in var/www/). I'd like to know in general how to set my file permissions so that browsers can't access anything besides the html/php files I want to show. Right now I've sort of accidentally chmodded everything to 777. I understand that .htaccess only protects the www fo...

mkdir ignore mode, but use recursive parameter

PHP's mkdir function has the following signature: bool mkdir ( string $pathname [, int $mode = 0777 [, bool $recursive = false [, resource $context ]]] ) I would like to call this function specifying the $pathname and $recursive set to true, but I wouldn't like to specify the $mode parameter. We control permissions on new files/directo...

Configure registry permission tool

I have to write a key value pair in the registry. This is done using a tool. This fails sometimes. Is there any windows utility available which can set the permissions of the registry? If the specific user does not have permission to the registry, I should be able to configure the permissions accordingly - from an administrator account....

SQL Server 2008 - ssas user permission

I'm new to ssas and i'm fighting with users permissions... I have a cube with a region dimension i.e region A and region B. I created a role to filter dimension data so that members of that role have only access to region A. I put user A in this role. Now, when I test this configuration, if I select the role A in the security context,...

Visual Studio output file permissions?

I'am using Visual Studio 2010, how to set or automatically change owner of the output file from Visual Studio (such as executable file) to user other than administrator? all output files currently is owned by Administrator (due to Visual studio is launch by administrative privilege), so sometime I can't delete those files due to access ...

PHP write outside document root

Hello, I'm trying to create a file in a directory outside the document root of the web server. The folder has permissions 777 but php says Permission Denied: Warning: fopen(/home/site2/public_html/images/x.jpg) [function.fopen]: failed to open stream: Permission denied in /home/site1/public_html/test_sites.php on line 2 Permission proble...

Apache permissions to serve file...

I have a folder on my webserver (apache), which contains gnupg public keys: \myfolder --- my.gpg --- your.gpg They are chown apache:apache. I want to make the permissions as strict as possible but leave it possible to have a user view the file online (http://mydomain.com/files/my.gpg). Why do I have to give the file execute permis...