[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] error while running dosemu as normal user



Hi folks,

If I try to run dosemu as normal user I get the following error :

-----------------------------------------------------------------------------------------------------------------
[rajesh@rajesh] /etc$ xdos

Running unpriviledged in low feature mode
kernel CPU speed is 167049280 Hz
Running on CPU=586, FPU=1
^[[19~ERROR: can't open /dev/hda1 for read nor write: Permission denied (you should never see this message)
[rajesh@rajesh] /etc$ ~   
-----------------------------------------------------------------------------------------------------------------

Even if I run /usr/bin/dos I get the same error message. My dosemu.users file
is as follows :

------------------------------------------------------------------------------------------------
default_lib_dir= /var/lib/dosemu
log_level= 0
root c_all              # root is allowed to do all weird things
nobody nosuidroot guest # variable 'guest' is checked in /etc/dosemu.conf
                        # to allow only DEXE execution
guest nosuidroot guest  # login guest treated as 'nobody'
# If you want to allow limited dosemu to all users, uncomment the line below
#all nosuidroot restricted # all other users have normal user restrictions
rajesh c_all       # this line is added by me (rajesh is a normal user account)
------------------------------------------------------------------------------------------------

I have added the following line in dosemu.conf :

disk { partition "/dev/hda1" }


If I login as root dosemu runs fine. No problems. 
How should I rectify the above problem ? Any hint or clue will be apreciated.

Thanks in advance.

-- 
Rajesh Fowkar
(ALIAS Shriram Fowkar)
----------------------------------------
Kurtarkar Nagari, Bldg-C,
Flat No. T4, Third Floor,
Shantinagar(Santacruz), Ponda-Goa-403401
Ph. : (0832)315932
Email : rfowkar@xxxxxxxxxxxxxxx
----------------------------------------

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.