Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-21-2010, 04:36 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Rep:
|
Try to use tcpdump to read TEST file, but get permission denied.
Trying to use tcpdump -r TEST, and get permission denied, even though I am logged in as root or super user.
Tried using the "chmod a+rw TEST" (any other file for that matters, yes it came from another source) and get permission denied.
|
|
|
|
10-21-2010, 10:06 PM
|
#2
|
|
Member
Registered: Sep 2003
Posts: 382
Rep:
|
I'd expect you checked for this, but I have to ask.
The permissions on the file as shown as being accessible
by root, the file system the file is on is not mounted read-only
or NFS mounted, right?
What output do you get if you issue these commands:
and
|
|
|
|
10-22-2010, 12:12 AM
|
#3
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,091
Rep: 
|
Maybe I've misunderstood your question. On my system at least (Debian Squeeze), tcpdump is not an executable. You can see this below.
Code:
ls -l /etc/bash_completion.d/tcpdump
-rw-r--r-- 1 root root 683 giu 20 10:00 /etc/bash_completion.d/tcpdump
cheers,
jdk
|
|
|
|
10-23-2010, 11:09 AM
|
#4
|
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
ls -l TEST
rwxr-xr-x 1 jch jch 600 2006-05-28 12:27 TEST
mount -v
/dev/sda6 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/jch/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=jch)
Last edited by zetareticular; 10-23-2010 at 11:11 AM.
Reason: Update
|
|
|
|
10-23-2010, 11:13 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
Okay, after running your commands, it works now! Maybe after running mount -v (???)
Go figure???
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|