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 8904013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:01:01+00:00 2026-06-15T02:01:01+00:00

I have execute permission only on a directory, which I believe means that I

  • 0

I have execute permission only on a directory, which I believe means that I can search for a particular filename in that directory. However, when I’m in the directory and do:

     find . -name "file.txt"

I get a permission denied error for the directory. Which command should I use?

  • 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-06-15T02:01:02+00:00Added an answer on June 15, 2026 at 2:01 am

    find tries to read the directory, and you’ve said you don’t have permission to read the directory. The search permission on the directory means you have permission to access the files (subject to the permissions on the file itself, of course) if you know the name of the file. The absence of read permission on the directory means that you cannot find out which files are in the directory except by trial-and-error or externally granted knowledge.

    What do you want to do with the file?

    • cat file.txt should work.
    • ls -l file.txt should work.
    • cp file.txt /some/where/readable should work.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a report to which I have execute-only access - I don't have
I have the Execute SQL Script package that contains the script to insert about
I have a shell script in which I have to execute two queries (on
I have an android application in which I have to execute some tasks at
I have this chess engine Rybka.exe, that i have to execute in java Here
I am having an issue that is really killing me. I have a directory
I have execute-extended-command bound to alt+a. So when in minibuffer, when i press it,
I have an Execute SQL task (SQL 2008) where I'm using two SSIS variables
I have to execute the following query in Android SQLite UPDATE player SET rank=rank+1
I have to execute some code in the context of the main thread. I

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.