Irish SEO,  Marketing & Webmaster Discussion

 

changing permissons via ssh

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 ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Members List Calendar Search Today's Posts Mark Forums Read


Notices

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-08-2006, 09:02 PM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,247
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default changing permissons via ssh

i'm trying to give myself 777 access to the conf folder via ssh. I have root access and i run this command

-bash-3.00$ -bash-3.00$ chmod 777 /etc/httpd/conf

to which i get this error message
-bash-3.00$ chmod: changing permissions of `/etc/httpd/conf': Operation not permitted

any ideas?
__________________
blog | Geansaí Gorm - Written entirely in, awful, Irish! | Me on Blue Jumpers
*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 15-08-2006, 09:21 PM
georgiecasey's Avatar
Member
 
Join Date: Jul 2006
Location: Galway / Ennis
Posts: 277
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
georgiecasey will become famous soon enough
Send a message via ICQ to georgiecasey
Default

Go to /etc/httpd and ls -al to see the owner and group of /conf
What is it?
__________________

My Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 15-08-2006, 10:21 PM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,247
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 15-08-2006, 11:17 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,521
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 15-08-2006, 11:22 PM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,247
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default

Quote:
Originally Posted by blacknight View Post

I could give you the exact command that would do this for you
yes please, and thanks for the links
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 15-08-2006, 11:29 PM
blacknight's Avatar
Web Slave
Recent Blog:
 
Join Date: Jan 2006
Location: Ireland
Posts: 6,521
blacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to beholdblacknight is a splendid one to behold
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
changing, permissons, ssh

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Sponsored links

Paid On Results


All times are GMT +1. The time now is 11:28 AM.


Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.2.0