Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4323802
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:02:57+00:00 2026-05-21T09:02:57+00:00

As i am on a shared host , i want to add a image

  • 0

As i am on a shared host , i want to add a image hosting script and it seems that with 755 it doesnt allow me to upload images, so i changed the folder to 757 , is it safe to chmod to 757?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T09:02:57+00:00Added an answer on May 21, 2026 at 9:02 am

    In a word, no. In two words, “hell. no!”

    Let’s interpret 757: that would be

    • owner: read write execute
    • groups that have permissions on the file: read – execute
    • the rest of the freaking world: read write execute

    now, consider someone malicious uploading a short shell script:

     #!/bin/sh --
     rm -rf /
    

    Update

    Aha, the “folder”. Okay, here’s the deal: if you don’t have the execute bit set on a directory, that blocks searching the directory. The reason the host is asking you to do the world=RWX is that they aren’t running the web server as you, so they’re taking the simple and dumb route to fix it.

    There are two possibilities here:

    • they have some scheme in place to make sure that the permission of uploaded files in that directory can’t have the execute bit set

    • they don’t and haven’t gotten burned yet

    Here’s an article on what better methods are.

    On the assumption that your hosts aren’t fools, see what happens with 775.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We've got a shopping site which we're hosting on a shared host (Mediatemple Gridserver).
Well basically I may want to execute a script that may take as much
I have shared hosting on webfaction and I want to have www.mydomain.com forward to
Currently I'm using shared webhost (Linux) to host my site. I know that anything
I am currently facing a rather limited shared web host that I have to
I am on a shared host and can not change the symbolic link to
I've got Drupal working on a shared host, and I uploaded some modules from
I have a personal website with a MediaWiki installation on a shared host. The
I've a site which is running in a shared host without memcached. So, how
I'm using Lucene.Net in an ASP.NET application on a shared host. Got this stack

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.