On Mon, 19 Nov 2001 15:05:15 +0000, "cwclarke" <[EMAIL PROTECTED]> wrote:

   I am running Mandrake 8 on my imac and am trying to install StarOffice.  I
   have copied the file from the cd it came on to my tmp directory and changed
   the read, write, execute permissions.  However, every time I try to execute
   the .bin file I get the error - cannot execute binary file.
   
   A glance at my 'dummies guide' suggests that the exec permission is not set
   in fstab but trying to reset this using linuxconf really messed up my system
   :-(
   
   Can someone please tell me if I am on the right track and explain how (using
   command line or whatever) to change fstab, or explain how I can execute
   binary files.
   
hi,

i dont think you need to change your fstab entries if you were executing from /tmp 
(btw, i tried installing from tmp but my tmp was not large enough so it aborted 
installation. i installed by creating a tmp directory in my home partition and 
installed from there).

here is one of the entries that I have for mounting a fat32 partition

/dev/hda5 /mnt/win_d vfat uid=501,gid=506,umask=007,iocharset=iso8859-1,codepage=850 0 0

it would be better if you can read the manpage but here is the basic dissection:

/dev/hda5 is the device that corresponds to the windows drive D:
/mnt/win_d is the mount point. i will access the files in drive D: through here.
vfat   is the file system type
uid=501 is my userid.i have a multi-user system so I need to mount my windows drive in 
such a way that all files are owned by me.
gid=506 is the groud id for a group that I created for the sole purpose of accessing 
this drive.
umask=007 is the file permission on the drive. this removes all the permissions of 
users not belonging to the group.

the rest you can read about in the manpages for fstab and mount. the mac filesystem 
may have other options but the uid, gid and umask is probably present.

HTH
-- 

"Programming, an artform that fights back."

===============================

Anuerin G. Diaz
Design Engineer
25/F Equitable-PCI Tower
ADB Ave. cor. Poveda St.,
Ortigas Center, Pasig City,
Philippines 1605

Tel no: (632) 6383070 loc 75
===============================

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to