Directory properties | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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

Directory properties

UNIX for Dummies Questions & Answers


Tags
unix commands

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-20-2001
trekker trekker is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 21 November 2001, 1:58 PM EST
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 11-20-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
 
Join Date: Aug 2001
Last Activity: 16 October 2009, 2:04 PM EDT
Location: Virginia, USA
Posts: 438
Thanks: 0
Thanked 1 Time in 1 Post
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  
Old 11-20-2001
trekker trekker is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 21 November 2001, 1:58 PM EST
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
rwb1959 rwb1959 is offline
Registered User
 
Join Date: Aug 2001
Last Activity: 16 October 2009, 2:04 PM EDT
Location: Virginia, USA
Posts: 438
Thanks: 0
Thanked 1 Time in 1 Post
"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  
Old 11-20-2001
trekker trekker is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 21 November 2001, 1:58 PM EST
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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  
Old 11-20-2001
trekker trekker is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 21 November 2001, 1:58 PM EST
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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  
Old 11-20-2001
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
 
Join Date: Aug 2001
Last Activity: 16 October 2009, 2:04 PM EDT
Location: Virginia, USA
Posts: 438
Thanks: 0
Thanked 1 Time in 1 Post
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 09:51 AM
File properties risshanth UNIX for Dummies Questions & Answers 2 02-03-2008 04:57 AM
properties for vi shriashishpatil UNIX for Dummies Questions & Answers 2 04-20-2007 02: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 05:53 PM



All times are GMT -4. The time now is 11:47 AM.