The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File properties risshanth UNIX for Dummies Questions & Answers 2 02-03-2008 01:57 AM
Array Properties Raynon Shell Programming and Scripting 2 08-17-2007 03:49 AM
properties for vi shriashishpatil UNIX for Dummies Questions & Answers 2 04-20-2007 10:27 AM
List of files in sub directory along with their properties ravikirankethe UNIX for Dummies Questions & Answers 3 11-13-2006 02:19 PM
Getting image properties victorin Shell Programming and Scripting 3 08-21-2006 01:53 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-20-2001
Registered User
 

Join Date: Nov 2001
Posts: 5
Question Directory properties

I have set up php shop and it required command line access which i have I executed the install.pl script and everything went OK but when I tried to access the admin foler via the www @ www.helloni.co.uk/shophtml/admin/ i get a forbidden error.

I know I have to change the attribs of the folder but I don't know the unix command to do this via SSH on port 22 could someone please help.

Trekker
Forum Sponsor
  #2  
Old 11-20-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
From your message, I assume you have
terminal access via SSH to your system.
You can use...

chmod(1) to change permission bits
chown(1) to change the owner
chgrp(1) to change the group

check the "man" pages for these commands for
all the details and options.
  #3  
Old 11-20-2001
Registered User
 

Join Date: Nov 2001
Posts: 5
Directory Permissionsa

How do I do this Via SSH I am using as program called putty.

Thanks for the help
  #4  
Old 11-20-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
"putty" is a Win32 SSH client.
Please clarify for me...

I assume you can login to the remote system
using putty and get to the UNIX command line
prompt?

Does this server belong to you (your company)?

Do you have system admin priviledges?

Assuming you can "putty" into your account,
and you have ownership permissions
on the [webroot]/shophtml/admin directory,
you should be able to execute any of those
commands from the command line prompt.

I'm a bit confused as to what you are asking
so I may not have answered your question.
  #5  
Old 11-20-2001
Registered User
 

Join Date: Nov 2001
Posts: 5
Yes to all of your question it is my server etc

I have only startred to use putty and shh access and my knowledge of unix command is limited to those I would use with ftp

I need to know the command to change folder attribs(CHMOD) and anything relevant to this.

Thanks
  #6  
Old 11-20-2001
Registered User
 

Join Date: Nov 2001
Posts: 5
Also to add what would "system admin privilages"

Do you know where I could get a comprehensive easy to read list of unix commands.

Trekker
  #7  
Old 11-20-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
For some suggestions on books and such,
go to the FAQ's on this forum...
http://www.unix.com/forumdisplay.php...ne=&forumid=21

Since it is your own system, then I assume
you have "root" (system admin) priv's.

I'm also assuming that you SSH into your machine
as a "regular" (non-privileged) unix user.
At this point you can "become" the root user
by...

su -

...then supplying root's password when prompted.
From this point you can do...

chmod 755 [webroot]/shophtml/admin

...where I'm assuming [webroot] to be your
path set up in your web server configuration.
I'm also assuming read,write,execute for the
"owner" (the "7" in 755) is sufficient.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0