🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cth.dtek.general
Article #388

Re: ftp & execute permission

#388
From: Fredrik Lundholm
Date: Tue, 08 Sep 1998 00:00
46 lines
2406 bytes
In article <6t3dtl$91g$1@nyheter.chalmers.se>,
Patrick Forsberg <fors@math.chalmers.se> wrote:
>Hej!
>
>[r det n}gon som kan svara p} hur man f}r execute flaggan att h{nga
>kvar n{r man tankar filer med ftp (ncftp).

funkar f�r mig med ncftp

Som daniel n�got luddigt f�rklarade, det g�r att fixa. Med mkisofs
som vi anv�nder p� ce g�r man f�ljande f�r att f� bootbara redhat skivor:

/usr/pd/bin/mkisofs -A'RedHat 4.9-mustang' -d -D -l -L -r -T -b images/boot.img
-o ../mustang.img .                 

och d� �r det speciellt -r flaggan som �r intressant, ur manblad:

 -r    This is like the -R option,  but  file  ownership  and
          modes  are  set to more useful values.  The uid and gid
          are set to zero, because they are usually  only  useful
          on  the  author's system, and not useful to the client.
          All the file read bits are set true, so that files  and

Version 1.11         Last change: 9 Apr 1997                    4

MKISOFS(8)           Maintenance Procedures            MKISOFS(8)

          directories  are  globally  readable on the client.  If
          any execute bit is set for a file, set all of the  exe-
          cute  bits, so that executables are globally executable
          on the client.  If any search bit is set for  a  direc-
          tory,  set  all of the search bits, so that directories
          are globally searchable on the client.  All write  bits
          are  cleared,  because the CD-Rom will be mounted read-
          only in any case.  If any of the special mode bits  are
          set, clear them, because file locks are not useful on a
          read-only file system, and set-id bits are  not  desir-
          able for uid 0 or gid 0.                                          

>
>/Patrick

mkisofs/cdrecord (xcdroast)  �r v�ldigt bra verktyg f�r att br�nna
cdskivor lyckosamt, n�got f�r dtek kanske??

Fredrik
Technical Details
Message-ID: <6t3t6t$kqi$1@nyheter.chalmers.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6t3dtl$91g$1@nyheter.chalmers.se>

Show Full Headers
Complete Article Headers
X-Google-Language: SWEDISH,ASCII
X-Google-Thread: 10f6e0,ba37280283137fd8
X-Google-Attributes: gid10f6e0,public
From: d1dol@dtek.chalmers.se (Fredrik Lundholm)
Subject: Re: ftp & execute permission
Date: 1998/09/08
Message-ID: <6t3t6t$kqi$1@nyheter.chalmers.se>
X-Deja-AN: 389114818
References: <6t3dtl$91g$1@nyheter.chalmers.se>
Organization: Chalmers University of Technology
Newsgroups: cth.dtek.general