Re: [SLUG] Permissions or what?

From: Chuck Hast (wchast@gmail.com)
Date: Fri Jul 15 2005 - 17:11:05 EDT


Here is what I got when I attempted to run the app under a non-root
user.

read(3, "", 4096) = 0
close(3) = 0
munmap(0x40018000, 4096) = 0
close(4) = 0
socket(PF_PACKET, SOCK_PACKET, 512) = -1 EPERM (Operation not permitted)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(3, 1), ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
_llseek(3, 0, 0xbffff580, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "socket: Operation not permitted\n", 32socket: Operation not permitted
) = 32
close(3) = 0
munmap(0x40018000, 4096) = 0
exit_group(1) = ?
kp4djt@fpac-dev:~$
 
Chuck Hast
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:49:08 EDT