Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-15-2003, 06:25 AM   #1
LQ Newbie
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
problem running program as user

I have a box at FDC that I run a Medal Of Honor game server off of also i run a stats program to record in game stats. but the stats program will not run because it has to create .html files in the www dir where it is telling me it has no permissions. i made the permissions on the folder 777 and still the same error...

drwxrwxrwx 3 merc merc 512 Oct 6 18:00 .
drwxr-xr-x 13 pureftpd pureftpd 1024 Sep 1 04:48 ..
-rwxrwxrwx 1 merc merc 15991 Oct 6 18:00 deaths.html
-rwxrwxrwx 1 merc merc 8343 Oct 6 18:00 index.html
-rwxrwxrwx 1 merc merc 16145 Oct 6 18:00 kills.html
drwxrwxrwx 2 merc merc 21504 Oct 6 18:00 player
-rwxrwxrwx 1 merc merc 15846 Oct 6 18:00 ratio.html
-rwxrwxrwx 1 merc merc 16157 Oct 6 18:00 skill.html
-rwxrwxrwx 1 merc merc 499 Aug 5 20:58 stats.css

merc@genesis:~$ sh
rm: /www/virtual/ permission denied
mkdir: /www/virtual/ Permission denied
chmod: /www/virtual/ Permission denied
gunzip: cache: unknown suffix -- ignored
Could not open output file `/www/'.

the server is running 4.9-RC FreeBSD

thanks in advance

Old 10-15-2003, 07:31 AM   #2
LQ Newbie
Registered: Aug 2003
Distribution: RedHat 9.0
Posts: 2

Rep: Reputation: 0
I am not a Linux expert by any stretch, but here are a couple of ideas that might help:

1. Check both the file and directory permission sets. The files may permit changes, but the directory permissions may not.

2. Check the permissions on the executables used to make the file/dir changes. If these executables do not permit the average user to execute, then the system will also fail.

Not much, but I hope it helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running the command as a normal user junaid18183 Linux - General 2 06-25-2005 06:27 AM
display problem while running C program using openGL library narendramandiwalmca Linux - Software 3 06-15-2005 03:49 PM
Running user program from root kilativv Linux - Software 2 07-31-2004 12:49 AM
Apache running program when user leaves page The_Nerd Linux - Software 0 05-23-2004 02:30 PM
problem running stormpkg as normal user drrnsk8ter4 Linux - Software 0 04-24-2004 01:15 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration