![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 | 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 |
|
|
Submit Tools | LinkBack | 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 |
| Forum Sponsor | ||
|
|
|
#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. |
|
#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. |
|
#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
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |