ssdowd
2005-07-24, 06:57 AM CDT
I'm trying to have my machine join my existing domain, but when I try to excute /usr/bin/net, I get a permission denied error:
[root@garcia2 samba]# /usr/bin/net rpc -h
bash: /usr/bin/net: Permission denied
The permissions appear to be OK:
[root@garcia2 samba]# ls -l /usr/bin/net
-rwxr-xr-x 1 root root 1918440 May 2 14:49 /usr/bin/net
Running straces shows an immediate fail EACCES:
[root@garcia2 samba]# strace /usr/bin/net rpc -h
execve("/usr/bin/net", ["/usr/bin/net", "rpc", "-h"], [/* 38 vars */]) = -1 EACCES (Permission denied)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa9000
_llseek(3, 0, 0xbfea6388, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
close(3) = 0
munmap(0xb7fa9000, 4096) = 0
exit_group(1) = ?
Anyone have any ideas? the machine is FC4, and the samba packages are all 3.0.14a.2.
[root@garcia2 samba]# /usr/bin/net rpc -h
bash: /usr/bin/net: Permission denied
The permissions appear to be OK:
[root@garcia2 samba]# ls -l /usr/bin/net
-rwxr-xr-x 1 root root 1918440 May 2 14:49 /usr/bin/net
Running straces shows an immediate fail EACCES:
[root@garcia2 samba]# strace /usr/bin/net rpc -h
execve("/usr/bin/net", ["/usr/bin/net", "rpc", "-h"], [/* 38 vars */]) = -1 EACCES (Permission denied)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa9000
_llseek(3, 0, 0xbfea6388, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
close(3) = 0
munmap(0xb7fa9000, 4096) = 0
exit_group(1) = ?
Anyone have any ideas? the machine is FC4, and the samba packages are all 3.0.14a.2.