permissions

Read-only on *all* tables in postgresql (even INHERITED ones)

Building on how-do-you-create-a-read-only-user-in-postgresql, my situation is more complex. Each hour, new INHERITED tables are created. Any (easy?) programmatic way to all our read-only user privileges on these as well? Trigger? Cronjob that looks for new ones? ...

Can't sudo gem uninstall (you don't have write permissions)

I'm having trouble removing a gem from my system. When i ask gem where RedCloth is installed it says this: pteng01:trunk mike$ gem list -d RedCloth *** LOCAL GEMS *** RedCloth (3.0.4) Author: why the lucky stiff Rubyforge: http://rubyforge.org/projects/redcloth Homepage: http://www.whytheluckystiff....

ankhsvn: access repository ith username, password

From visual studio, I can see the repository on another system using the url: svn://(ipaddress)/ But I am not able to write to the repository from my system. How can I access the repository with permissions from visual studio - ankhsvn (using Harry/Sally/custom_created username and password)? The error I see now is: "You failed to autho...

PHP: allowing upload of .php files for users, how do I prevent them from running?

I am allowing people to upload their project files, I've tightened my security but I just need to get to the simple point. How can I stop execution of any files in the subdirectories they're uploading too? I'm thinking .htaccess but I'd need to generate one for each new subdirectory (I think), would I need to scrap my current code and u...

What permissions should be granted to the remote user to do anything with "the database" and no other?

What permissions should be granted to the remote user to do anything with the database "123" in SQL Server 2005 Express using SQL Server Management Studio Express such that the remote user cannot do anything to any other database? I would also like that the remote user cannot see the other databases. That is "123" is for the user login...

How do you set up a virtual environment or sandbox for ruby without removing access to external API's?

I am running a bit of code that looks like this: result = system("ruby " + filename_random_ruby_script) if result save_to_disk(random_ruby_script) else # Do Nothing end The variable "random_ruby_script" represents any .rb file. This code is the first of many calls to system() and runs a ruby file that may also contain calls to sy...

Facebook App extended permissions

I am making a FBML facebook application. Currently, when a user visit my application for the first time he is asked to allow his profile details to be shared or not. I want the user to be asked for publish_stream permissions in the same login screen. How can I do this? As far as i know the way to do is redirect the user to a url like: ...

Facebook API: user is logged in, but did not grant any permissions

Please look at the example below: Now while scenarios #1 and #3 are quire obviouse, my question is: Is it possible that scenario #2 is valid ? i.e Connected - But no permissions given. Thanks. -- Code: FB.login(function(response) { if (response.session) { if (response.perms) { // #1 user is logged in and grante...

Permission denied error in Java

I have an executable file (ffmpeg) that I'm trying to run with a Java program on a Mac. I used the Java program to send the command chmod 777 /path/to/ffmpeg, but when I try to run ffmpeg, I get the following error: java.io.IOException: Cannot run program "/Users/james/WalkTheHall/ffmpeg": error=13, Permission denied But when I run ch...

SQL Server - How to Grant Read Access to ALL databases to a Login?

I need to give a new login read access to all 300 databases on a server. How can I accomplish this without checking 300 checkboxes in the user mapping area? ...

SharePoint: Webpart to show permissions for a list/document library

Is there any webpart (free or purchased) that can be set to display the permissions for a list or document library? We want to set up pages that contain a view to a document Library and a section at the top of the page that lists what users can access the library, to ensure that users adding content to the library don't accidentally plac...

Oracle utl_nla_array_dbl does not exist

Hi all, Trying to get ordinary least squares regression going using the UTL_NLA package in Oracle. The UTL_NLA package is installed by default and appears to be working. Next up, I tried to run some of the regression sample code (OLS_Regression) that ships with Oracle (olsexmpl.sql and olstype.sql). I am able to create the model just ...

ACL and symbolic link problem

I am setting up a nginx server. I create a user nginx for running the server. And I have some data in the home of another user, victor. I try to set the ACL to let the nginx read those data; here is what I did. The location of data: /home/victor/web/folder/folder2/folder3/data I want to let nginx read those files, so that I create...

Inno Setup and Permissions for non-admins: everyone, users, or authusers?

Should I give "modify" permissions to 'everyone' or 'users' or 'authusers' if, under UAC, I want to make data folders and files writable to non-admin users of the program? I want that basically everyone who can sit at the computer can read/write the data through the program. I've also read that using 'everyone' for modify permission can...

sql stored procedure execution failing because of permissions on tables

Hi there. Let me explain the context first. There are two databases sitting on two distinct servers on the same network. There is a stored procedure which copies data from a table in one database to a table in the other database (the two databases have same structure, but contain different data). Users do not have permissions to query ...

Basic permission in Bugzilla to separate clients

I'm trying to configure a Bugzilla instance, which will allow my clients to login, and file bugs for their website under development/maintenance. For e.g: I have created 2 products called "TestProject", "TestProject2" and a user called "TestClient". What I'm trying to achieve is when TestClient logs in, he can only see TestProject, Test...

Call SSIS Package on 2008 server from SQL Agent Job on remote 2005 server

I'm trying, unsuccessfully, to remotely execute an SSIS package. The package resides on a SQL Server 2008 instance and I'd like to call it from a Job on a 2005 server. The error I'm getting is: The package could not be loaded. The step failed. If I go from 2008 to 2008, there is no error. Any ideas? ...

MySql (Update-) SP only works in terminal ?

I have a stored procedure that works in the mysql> terminal, but when I try to run it through my application it doesn't work. I don't get any error messages or anything. If I try to execute the sp through MySql Query Browser the response is simply : "Query canceled." This particular SP is just a simple update command, but I have other...

How to set default group permissions for SFTP uploads?

I am connecting to a web server running Debian. Our team uses Apache and all users are members of the www-data group. When we connect to this server via SFTP (e.g. Transmit), all of our newly uploaded files take on a group name that is the same as the user's name (i.e. their primary group). Is there a way to change this default group as...

SVN user groups and permissions

Hi, I have setup an SVN server on my hosting account. Users can check in and out, but they have access to my entire repository. To give people access, I issue users a public key to my account and then I add a line into my "authorized_keys" file inside my ~/.ssh that looks like this: command="/home/user/packages/bin/svnserve -t -r /home...