Permission on files restricted to a process


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Permission on files restricted to a process
# 1  
Old 02-06-2007
Permission on files restricted to a process

Hello,

I have this process app.fcgi and a directory containing images. I'd like to ensure that only app.cgi can access those images and more generally that folder.Thanks!
# 2  
Old 02-06-2007
Quote:
Originally Posted by JCR
Hello,

I have this process app.fcgi and a directory containing images. I'd like to ensure that only app.cgi can access those images and more generally that folder.Thanks!

Create a user who will run this process and make sure he is the only person who can access those files and directories...

Regards,
Johan Louwers.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Permission for files in the path

Hi All, I have this file system /sys/app/ and application creating many file under that path. I want any created file under that path to be created with 644 permission Any help support in this please! (2 Replies)
Discussion started by: AbuAliiiiiiiiii
2 Replies

2. Shell Programming and Scripting

Process existence or/and permission

Hi, In a bash script, I'm using kill -0 to test if I have permission to kill a process. There are 3 cases: - the process exists and I have permission: OK - the process doesn't exist and it's OK (because I decided to ignore processes that are already dead). - I don't have permission and I want... (13 Replies)
Discussion started by: chebarbudo
13 Replies

3. UNIX Desktop Questions & Answers

Restricted shell with execution permission on a file

Hi, I've created a user which shell is the restricted one (/usr/lib/rsh), but I've realized that the user cannot execute a script !!! The scope was to allow the ssh access to a user that could not access to any other directories but there that user should be able to run a script that retrieves ... (2 Replies)
Discussion started by: mary0
2 Replies

4. UNIX for Advanced & Expert Users

Permission to kill a process

I'm on AIX. I have triggered an infinite loop process (to keep looking for input file availability for further process). At present only I can kill the process. In case my colleague wants to kill the process for any reason, how do I provide permission to others to kill the process? Currently... (3 Replies)
Discussion started by: krishmaths
3 Replies

5. Shell Programming and Scripting

Permission Denied to transfer files

Hi, I got a problem about new user that will be used by another system to transfer files. It threw back with error as below. ftp> put pom.txt 200 PORT command successful. 553 pom.txt: Permission denied. I'm not sure that's because the destination directory was created by another user.... (2 Replies)
Discussion started by: Kapom
2 Replies

6. UNIX for Advanced & Expert Users

permission for all the files in a folder

Hi Guys, Is there a command or some way whenever any file is created in a folder is having a default permission. Cheers!!! (2 Replies)
Discussion started by: mac4rfree
2 Replies

7. Shell Programming and Scripting

Permission with Tar files

Hi All, I have 1000's of xml files in the Windows environment which needs to be FTPed to the UNIX environment. to reduce the time taken i go in for Tar and gzip 1. At the windows server i use the following command to tar and gzip tar --remove-files -pcf DW_BankDrop.tar DW_BankDrop*.xml ... (2 Replies)
Discussion started by: Codesearcher
2 Replies

8. Shell Programming and Scripting

Permission issues in Files

There are two text files are there in UNIX directory. One file created by informatica that contains the detail records and other file is created by Shell script that contains header record(1 row)but these two files are created in different user. I want to merge these two files with another file... (4 Replies)
Discussion started by: praka
4 Replies

9. AIX

set permission to files in /tmp

Trying to setup user to have the ability to delete any files (regardless of owner) in /tmp. I've tried almost everything... the permission on the folder is drwxrwxrwt 10 bin bin, and at one point I give all the possible permission (short of root) I can give to the user, and he still can't delete... (2 Replies)
Discussion started by: cchiang12
2 Replies

10. Linux

files ownership/permission problem

all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies
Login or Register to Ask a Question