Is it bad to have a bunch of data files flagged as executable?

Posted on 2004-11-29
Last Modified: 2010-04-20
I've found a bunch of files that are flagged as being executable, but most of them are really just data, text files, logs, etc. Basically, it looks like someone did chmod -R on a folder they shouldn't have. My question is, does this pose a serious security or stability problem that needs immediate attention, or can I wait for a slow day to go fix them all?
Question by:billmercer
    LVL 11

    Accepted Solution

    most of the time it isn't harmful , as they are just datafiles , even if they are executable you cant run them , you will get command not found error.

    LVL 11

    Expert Comment

    It will be harmful is by any chance the data is such that it can be executed ,
    for example its a binary datafile which is similar to an executable file
    or its a text data file , which can be shell script commands.

    LVL 87

    Expert Comment

    As long as those files are inside the user's shell (anything else shouldn't be possible if your users don't have root or other special rights, executing a file like that by mistake and it does actually execute (see avizit and shellscript commands), it would only be able to compromise that specific user's environment.
    LVL 19

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now