Re: root can't access files?

2003-08-29 Thread Ryan Underwood
Bart, On Mon, Aug 04, 2003 at 11:40:12PM +0100, Bart Oldeman wrote: On Sun, 3 Aug 2003, Ryan Underwood wrote: Okay, I figured out what is going on. I have a daemon (BBS server) that is spawned from an init script, and when a user accesses a DOS program in the BBS, it forks off DOSEMU

Re: root can't access files?

2003-08-29 Thread Ryan Underwood
Hi Bart, On Fri, Aug 29, 2003 at 10:37:27AM +0100, Bart Oldeman wrote: On Thu, 28 Aug 2003, Ryan Underwood wrote: Now, the other scenario is this: we are root, and startup the bbs as root. The BBS this time is configured to setuid to another user for the security reasons, so it

Re: root can't access files?

2003-08-04 Thread Ryan Underwood
Hi, On Mon, Aug 04, 2003 at 09:47:36AM -0700, ToniB wrote: --- Ryan Underwood [EMAIL PROTECTED] wrote: The problem occurs when: 1) The daemon is run with root privileges 2) The daemon's init script is run through a `sudo`. DOSEMU checks to the real uid, drops privileges to the

Re: root can't access files?

2003-08-04 Thread Bart Oldeman
On Sun, 3 Aug 2003, Ryan Underwood wrote: Okay, I figured out what is going on. I have a daemon (BBS server) that is spawned from an init script, and when a user accesses a DOS program in the BBS, it forks off DOSEMU to redirect the comport I/O to the user. The problem occurs when: 1) The

root can't access files?

2003-08-02 Thread Ryan Underwood
Hi, I have some file that is mode 600, owned by user.user. If root tries to access that file from within dosemu, he gets access denied. How can it be specified, that root running dosemu means he gets to do anything within DOS? -- Ryan Underwood, nemesis at icequake.net, icq=10317253 - To