This is a discussion on changing permissons via ssh within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; i'm trying to give myself 777 access to the conf folder via ssh. I have root access and i run ...
| |||||||
| Register | Forum Rules | FAQ | Donate | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||||
| Go to /etc/httpd and ls -al to see the owner and group of /conf What is it?
__________________ My Blog |
| |||||
| here is the result: -bash-3.00$ cd /etc/httpd/conf -bash-3.00$ ls -al total 156 drwxr-xr-x 7 root root 1024 Aug 5 21:40 . drwxr-xr-x 4 root root 1024 Jun 29 01:57 .. -rw-r--r-- 1 root root 24576 Aug 6 01:04 .httpd.conf.swp lrwxr-xr-x 1 root root 37 Jun 29 01:42 Makefile -> ../../../usr/share/ssl/certs/Makefile -rw-r--r-- 1 root root 0 Feb 2 2006 access.conf -rw-r--r-- 1 root root 34851 Jun 29 01:54 httpd.conf -rw-r--r-- 1 root root 34719 Jun 29 01:54 httpd.conf-pre-frontpage-5.0.2.2635-backup -rw-r--r-- 1 root root 34851 Aug 5 21:40 httpd.conf.backup -r-------- 1 root root 2971 Jun 29 01:47 httpd.pem -rw-r--r-- 1 root root 12959 Jan 13 2006 magic -rw-r--r-- 1 root root 0 Feb 2 2006 srm.conf drwx------ 2 root root 1024 Jun 29 01:42 ssl.crl drwx------ 2 root root 1024 Jun 29 01:42 ssl.crt drwx------ 2 root root 1024 Jan 13 2006 ssl.csr drwx------ 2 root root 1024 Jun 29 01:42 ssl.key drwx------ 2 root root 1024 Jan 13 2006 ssl.prm |
| |||||
| Rollo I could give you the exact command that would do this for you, but why do you want to mess with the permissions???? If you want to edit the Apache config you should do it directly on the server using vim: VIM Basics Vim Cookbook
__________________ Hosting & Domains|Plesk Vps Hosting|Geek / Cool Stuff|Films.ie|Cool Sites|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| |||||
| If you've got root access, why do you need to change the permissions? I was just thinking about that - it makes very little sense
__________________ Hosting & Domains|Plesk Vps Hosting|Geek / Cool Stuff|Films.ie|Cool Sites|Monetisation Tips|Movie Chat Energise your forum! Click here for info |
| Tags |
| changing, permissons, ssh |
| Thread Tools | |
| Display Modes | |
|
|
| ||||||||
| | ![]() | |||||||