Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Correct Directory Setup?, Organization of directorys and files
post Jun 19 2003, 04:30 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 7
Joined: 19-June 03
Member No.: 986

I installed my linux and set a / for the mount point on my linux partition... thus every folder stems down from / . I am however begining to wonder if that was such a good idea! Im trying to install a half-life server in /usr/local/games/hlds folder under a normal user (jdklusman - didn't want to screw up linux by using root) the server starts up ok if i run it from the directory, however i need to run a script to get it to start up on boot. Every time i run this script i get a permision denied! Is there a easy way to grant permisions for certain folder without exposeing valnurablitys? I am also running apache web server and have my default document directory at /var/www/html/
My Half-life server runs pyschostats which needs to right to my document directory every 20 min. to update the stats, i want to do this all using the user jdklusman.
Should i format and setup my filesystem different to ease the pain of permisions? or is this setup a-ok? If u were me how would u set stuff up?
Go to the top of the page
+Quote Post
post Jun 19 2003, 05:35 PM
Post #2

LinuxHelp Admin

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1

who owns the /var/www/html directory? root? apache? If it's apache just open up /etc/group and add your user to the apache group and ensure that the directory is 775 and owned by apache.apache.

Just play with the permissions a little and you should get it to work
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th July 2018 - 06:15 AM