[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FYI: Script I wrote- Fedorasync.sh



On Mon, 2004-05-03 at 20:05, Patrick wrote:

> Hi Chris,
> 
> Your script works like a charm. Thanks! There is one thing though... If
> I run the script as a plain user with the repository in
> /home/patrick/rawhide, it always fails at the mkisofs stage. If I run it
> as root it works as advertised. The command I use is:
> cd /home/patrick/
> ./FedoraSync.sh -live -del -paranoid -iso i386
> 
> The error message I get as a plain user is:
> Size of boot image is 4 sectors -> No emulation
> mkisofs: Permission denied. Error opening boot image file
> './isolinux/isolinux.bin' for update.
> 
> In the current rawhide tree isolinux.bin is 444 and mkisofs needs 644 to
> do it's thing successfully.
> 
> Is changing isolinux.bin from 444 to 644 something that needs to be done
> in the rawhide tree or do I just work around this "feature" by changing
> isolinux.bin from 444 to 644 in the script just before the mkisofs
> command is issued and afterwards change it back?

You might want to change the default location of the local repo.
$LOCALDIR="/home/patrick/rawhide" or specify it on the command line:

# FedoraSync.sh -iso /home/patrick/rawhide

Then it should work.

-- 
Chris Kloiber




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]