Previous Question just to understand what I'm doing: How to set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?
So if I change the chmod to 755 for chmod 75 /opt/lampp/htdocs and I restart the system I want the files to be in chmod 755.
...
Hi-
I compile this program:
#include <stdio.h>
int main()
{
printf("Hello World!");
return 0;
}
With this command:
gcc -c "hello.c" -o hello
And when I try to execute hello, I get
bash: ./hello: Permission denied
Because the permissions are
-rw-r--r-- 1 nathan nathan 856 2010-09-17 23:49 hello
For some reaso...
I have a very simple mod_wsgi python application that tries to write to a file:
tempfile = open('temp.txt', 'w')
This fails with
IOError: [Errno 13] Permission denied: 'temp.txt'
The folder with myapp.wsgi has world-writable permissions (777). I can write to a file from a simple PHP test script. This is running on Mac OSX 10.6 ...
Hi,
I think I'm having problems using PHP sessions because I've got cPanel installed on the same server and I believe it has additional security in place that prevents write access to /tmp
I can set a new folder, but am unsure what permissions / owners should this folder have.
Also where should it ideally be located?
...
Ok, I have been trying to get a 'custom' ACL to work with extra constraints. A normal ACL check is something like:
if(aclCheck($user, 'edit', 'really_important_value')){
// Allow $user to 'edit' the 'really_important_value'.
} else {
// Deny $user to 'edit' the 'really_important_value'.
}
But, if different users have different...
We are having a local repository which is accessible to a large number of people. We have to set up a Git repository there such that only certain users have checkout as well as commit privileges. How can we do that.
P.S. : This is a part of our homework assignment in which we have to develop a game and update it using a Git repository. ...
I am writing a very small app that just opens the camera app ready for video. I am able to get my code to work on an Android 2.2 emulator, but it will not work on my device, Motorola Droid 1 stock 2.2 FRG22D. Any ideas where I went wrong on this code?
public class StartVid extends Activity {
/** Called when the activity is first creat...
Hello
I cant access values inside my iFrame it gives me permission denied. I have access on both pages (parent and child).
I added the following javascript line on both pages:
document.domain = "sub.domain.com";
but firebug gives me :
Illegal document.domain value
and when i try to access element inside the iFrame it prompts : Permi...
Greetings all,
In SQL Svr 2005 I created a new schema for my database called GSOC whose owner is dbo. I then created a local SQL user account with the default schema set to GSOC - my new schema name. I have one View that I want this schema to control access to, so I added the local SQL account to the View's permissions granting SELECT p...
Ok, I have written a task switching application that allows you to see all currently "running" apps and allows you to quickly switch between them.
Everything works fine and I have it published on the Android Market as "AppSwipe!"
However, there is a running app that always shows up after making a phone call that I can't switch to due t...
Hey,
I'm curious how to copy the permission from directory to another.
Any idea?
Thanks
...
I previously posted here:
http://stackoverflow.com/questions/3731171/controlling-access-for-trial-subscription
Since this is a new question based on suggestions there, I thought I should start a new post. If this should have been an edit, please let me know for the future.
I think the solution I'm going with to control access will be...
Seems it is a question about .htaccess, not sure what should I use.
How can I make files inside /data/ folder available to read and write only for scripts?
Users should not have access to them from browser window.
...
[1] tells well known (see, for. ex, also [2], etc) fact that upon installation, i.e. in workgroup, a Windows has LocalSystem (SYSTEM) account which:
"The LocalSystem account is a predefined local account that has extensive privileges on the local computer. This account is only available to system processes and does not have a pass...
Reposting my unanswered in technet.microsoft question?
MSDN "ASP.NET Delegation" article tells:
1) "When you configure to use a particular account as the process identity, ASP.NET attempts to delegate that account. If it is a local account that is identical (including password) to a local account on a remote machine, delegation i...
[1] informs:
Local System account. The name of this account is NT AUTHORITY\System. It is a powerful account that has unrestricted access to all local system resources. It is a member of the Windows Administrators group on the local computer
How to determine/check membership of "NT AUTHORITY\" account, such as
NT AUTHORITY\SY...
[1] tells:
"When you configure to use a particular account as the process identity, ASP.NET attempts to delegate that account. If it is a local account that is identical (including password) to a local account on a remote machine, delegation is possible. If such an account does not exist on the remote machine, to the network it appe...
I have written a bash script for use on my ubuntu box. Now I would like to prevent running this script under my own user and only able to run it as root (sudo).
Is there a possibility to force this. Can I somehow let my script ask for root permissions if I run it under my own username?
...
I'm working on a piece of software that needs to copy a file to a given directory on the filesystem. It needs to work on both UAC-aware OSs (Vista, 7) as well as XP. To get around the issue of writing to a directory where UAC elevation is required, the app actually kicks off another process with a manifest that states that UAC is require...
I am trying to use the ColdFusion administrator to schedule a task. It is returning an error which says that there are not enough permissions to execute the task.
I can successfully execute the cfm file in IE, so it's not an error with the actual file.
So from what I've read about this, it appears to be an IIS problem. Do I need to c...