Computing.Net > Forums > Unix > getting rid of permission denied me

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

getting rid of permission denied me

Reply to Message Icon

Name: bhben
Date: September 30, 2004 at 05:00:07 Pacific
OS: Windows XP
CPU/Ram: P4, 512MB
Comment:

Hello,

I am using the command:

find / -name "core" -print

the output for this returns lots of files with permission denied as i don't have read permissions. It does also return some files that i do have permission. How can i filter out the files where i don't have permission so that just the files i do have permission for are returned?

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: September 30, 2004 at 06:16:35 Pacific
Reply:

Hi:

When you don't have permissions executing find, the errors actually write to stderr. To ignore the output, redirect stderr to /dev/null:

find / -name "core" -print 2> /dev/null

Regards,


Nails


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: getting rid of permission denied me

How do you get rid of Lilo Boot? www.computing.net/answers/unix/how-do-you-get-rid-of-lilo-boot/1129.html

How to get rid of spaces at the beginning of each line? www.computing.net/answers/unix/how-to-get-rid-of-spaces-at-the-beginning-of-each-line/1804.html

How to get rid of a "," at the end of a variable read www.computing.net/answers/unix/how-to-get-rid-of-a-at-the-end-of-a-variable-read/1186.html