[Samba] Re: smb.conf - fixed? :)
Jim Watt
wattjg at appliedbiosystems.com
Wed Jul 17 14:42:02 GMT 2002
--On 07/17/2002 4:21 PM -0500 Chris Tooley wrote:
} open("/usr/local/samba/var/log.smbd",
} O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = -1 EACCES (Permission
} denied)
[...]
This from the strace output:
[...]
geteuid32() = 500
getegid32() = 500
[...]
setresuid32(0, 0, 0) = -1 EPERM (Operation not permitted)
setuid32(0) = -1 EPERM (Operation not permitted)
geteuid32() = 500
setresgid32(0, 0, 0) = -1 EPERM (Operation not permitted)
setgid32(0) = -1 EPERM (Operation not permitted)
getegid32() = 500
[...]
geteuid32() = 500
getegid32() = 500
getgroups32(0, 0xbffff608) = 1
getgroups32(0x1, 0x81e41d8) = 1
umask(022) = 0
open("/usr/local/samba/var/log.smbd", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE,
0666) = -1 EACCES (Permission denied)
What user started smbd? It looks like [500,500]. And that user doesn't
have permission to create /usr/local/samba/var/log.smbd.
Jim
--
Jim Watt wattjg at appliedbiosystems.com
Applied Biosystems Voice (desk): +1 408 577 2228
3833 North First Street Fax: +1 408 894 9307
San Jose CA 95134-1701 Voice (main): +1 408 577 2200
More information about the samba
mailing list