Re: [newbie] installing RPM all files are treated like documents?!?

1999-03-04 Thread Mauro Tortonesi


On Wed, 3 Mar 1999, Clay wrote:

 when i install a file from an rpm or tar.gz it seems that all the files
 in the rpm or tar.gz are treated like text files instead of executables
 like they should be! what gives?! i downloaded these files under windows
 98 then mounted my fat 32 partition under linux got the files from the
 fat 32 partition  put them on my linux partition and tried to install
 them and it extracts them ok and everything just none of the files are
 treated correctly they are all treated like executeables! someone please
 help me!

When you mount your FAT32 partition you have to use the option
noexec of the mount command. See man mount for more information. If you
mount the partition using an entry in /etc/fstab, then you have to add the
noexec option in the 4th field of the entry. Something like:

/dev/hdXX   /mnt/WinXX  vfatdefaults,noexec,nodev   1   1

--
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi [EMAIL PROTECTED]
http://ing49.unife.it/~keyser
Ferrara Linux User Grouphttp://flug.unife.it



Re: [newbie] installing RPM all files are treated like documents?!?

1999-03-04 Thread Clay

no i meant all files are treated like text files instead of executeables
...sorry was in hurry when writing this

Steve Philp wrote:

 Clay wrote:
 
  when i install a file from an rpm or tar.gz it seems that all the files
  in the rpm or tar.gz are treated like text files instead of executables
  like they should be! what gives?! i downloaded these files under windows
  98 then mounted my fat 32 partition under linux got the files from the
  fat 32 partition  put them on my linux partition and tried to install
  them and it extracts them ok and everything just none of the files are
  treated correctly they are all treated like executeables! someone please
  help me!

 What do you mean by "they're treated like executables"?  Are you able to
 install them?

 It's possible that the permissions on the files are being munged because
 you're putting them on a FAT32 partition that has no idea about file
 permissions or ownership.  I've noticed that when using my FAT32
 partition under Linux all files are listed as executable.

 I doubt that it's going to cause a problem for you, since even if you
 ATTEMPTED to execute them nothing would happen.  If it bothers you,
 simply chmod them to be non-executable (chmod -x filename) and you're
 all set.

 --
 Steve Philp "Oh Lord, I go for penguins. 'Cause penguins are
 [EMAIL PROTECTED] so sensitive to my needs..."--Lyle Lovett


NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download.html



Re: [newbie] installing RPM all files are treated like documents?!?

1999-03-04 Thread Paul A. Bernicchi



Are you downloading files as SOURCE or TEXT? I know 
Netscape Communicator gives you the option, I forget if kfm does. This 
owuld be the equivalent of GETting a .ZIP binary from an FTP with ASCII mode 
set.

Paul

  - Original Message - 
  From: Clay 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, March 04, 1999 11:18 AM
  Subject: Re: [newbie] installing RPM all files are treated like 
  documents?!?
  no i meant all files are treated like text files instead of 
  executeables...sorry was in hurry when writing thisSteve Philp 
  wrote: Clay wrote:   when i install a file 
  from an rpm or tar.gz it seems that all the files  in the rpm or 
  tar.gz are treated like text files instead of executables  like 
  they should be! what gives?! i downloaded these files under windows 
   98 then mounted my fat 32 partition under linux got the files from 
  the  fat 32 partition put them on my linux partition and 
  tried to install  them and it extracts them ok and everything just 
  none of the files are  treated correctly they are all treated like 
  executeables! someone please  help me! What do you 
  mean by they're treated like executables? Are you able 
  to install them? It's possible that the permissions on 
  the files are being munged because you're putting them on a FAT32 
  partition that has no idea about file permissions or ownership. 
  I've noticed that when using my FAT32 partition under Linux all files 
  are listed as executable. I doubt that it's going to cause a 
  problem for you, since even if you ATTEMPTED to execute them nothing 
  would happen. If it bothers you, simply chmod them to be 
  non-executable (chmod -x filename) and you're all 
  set. -- Steve 
  Philp 
  Oh Lord, I go for penguins. 'Cause penguins are [EMAIL PROTECTED] 
  so sensitive to my needs... --Lyle 
  LovettNetZero 
  - We believe in a FREE Internet. Shouldn't you?Get your FREE 
  Internet Access and Email athttp://www.netzero.net/download.html