![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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 !! |
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 04:57 AM |
| Array Properties | Raynon | Shell Programming and Scripting | 2 | 08-17-2007 06:49 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 05:19 PM |
| Getting image properties | victorin | Shell Programming and Scripting | 3 | 08-21-2006 04:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 ![]() |
|
|||||
|
"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. ![]() |
|
||||
|
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 |
|
|||||
|
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. |
![]() |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|