/var Permissions
I have apache2 set up in /var/www/ I also have other things set up in in the /var to run a private server as well as php scripts, etc.
I had a hard time getting Zina to work correctly. I tried everything and then played around with the permissions of /var and now Zina works fine. But I am worried that I set the permissions to something I should not have. The server I have is set to listen to localhost:80 It can't be accessed from the internet. Now what I want to make sure is secure is this. What permissions would be safe to use for this folder. I am right clicking the folder in Ubuntu 7.04 and changing the permissions that way. The most important one I want to make sure is secure and set correctly is the others option in permissions. I am also applying them to all folders and files in the /var directory. Any help or suggestions would be greatly appreciated. |
You aren't supplying any details. Which directories in /var/www do you need to change. It looks like you are applying too wide of a brush.
|
Quote:
Yeah I know but I did a broad change. /var and all folders and files under it. I think I finally got it changed the way I need to. What I am now wondering is this. What permissions should; /var/lib/ /var/lib/php5/ /var/mysql/ /var/apache2/ /var/www/ /var/run/ I think that covers the ones I need to make sure of. As far as a general permission setting just for the folder /var what should that be? I may have to go and change each folder one at a time in there soon and make sure all the folders are ok. (If you can't tell, I am new to permissions and should have known better then to play around with them without further researching it.) |
Code:
ls -ld /var/lib/ /var/lib/mysql /srv/www /var/run Code:
drwx------ 2 root root 4096 Jan 13 23:25 /var/adm/autoinstall/init.d |
Thank you. I am going to get on this now. I have been sitting here paranoid wondering what I screwed up and how insecure it all was, lol.
|
All times are GMT -5. The time now is 09:09 PM. |