SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Perl/cgi puzzle

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2002
    Location
    Florida
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Perl/cgi puzzle

    I have set up a guestbook before and altered settings in cgi-bin. Now I am trying something a little harder (a shopping cart for http://www.atsbargains.com) and I have hit a wall trying to figure out this instruction:

    "Set the permissions of the cart.cgi and cartmanager.cgi script to rwxr_x_r_x."

    Could someone break this down in simpler language for me?

  2. #2
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unix permissions.

    r=read
    w=write
    x=execute

    rwx------ the first three chars are user
    ---rwx--- the next three chars are group
    ------rwx the last three chars are other

    so, rwxr-xr-x means you want read, write, and execute permissions for the file's owner, and read/execute for everyone else.

    the command for this would be
    chmod 755 cart.cgi
    chmod 755 cartmanager.cgi
    ----Adopt-a-Sig----
    Your message here!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •