|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 ![]() |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
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. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Directory Permissionsa
How do I do this Via SSH I am using as program called putty.
Thanks for the help |
|
#4
|
||||
|
||||
|
"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. ![]() |
| Sponsored Links | |
|
|
#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 |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
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 |
| Sponsored Links | |
|
|
#7
|
||||
|
||||
|
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. |
| Sponsored Links | ||
|
![]() |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pop up Window Properties | JustinPyfrom | Solaris | 0 | 11-07-2008 08:51 AM |
| File properties | risshanth | UNIX for Dummies Questions & Answers | 2 | 02-03-2008 03:57 AM |
| properties for vi | shriashishpatil | UNIX for Dummies Questions & Answers | 2 | 04-20-2007 01:27 PM |
| List of files in sub directory along with their properties | ravikirankethe | UNIX for Dummies Questions & Answers | 3 | 11-13-2006 04:19 PM |
| Getting image properties | victorin | Shell Programming and Scripting | 3 | 08-21-2006 04:53 PM |
|
|