customize_root permission denied

Asked by jMehdi

I've upgraded my machine to ubuntu 10.10 (from 10.04), and I'm trying to customize an ubuntu 10.10 ISO file, but I get this error (using uck-flow):

Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Creating apt cache...
Creating root home...
Mounting /proc
Mounting /sys
Mounting /dev/pts
Mounting /var/run
Mounting /tmp
Mounting /home/mehdi/projects/sabily-uck/remaster-root-home
Mounting /home/mehdi/projects/sabily-uck/remaster-apt-cache
Mounting /home/mehdi/projects/sabily-uck/customization-scripts
Copying resolv.conf...
Creating DBUS uuid...
chroot: Removing generated machine uuid...
Removing generated resolv.conf...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/tmp/customization-scripts...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/var/cache/apt...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/root...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/tmp...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/var/run...
failed to run command `/tmp/customization-scripts/customize_root': Permission denied
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/dev/pts...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/sys...
Unmounting /home/mehdi/projects/sabily-uck/remaster-root/proc...
Cleaning up temporary directories...

my password has been asked when I clicked on "Ready" in uck-flow, I don't understand what is the problem...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Solved by:
Wolf Geldmacher
Solved:
Last query:
Last reply:
Revision history for this message
Best Wolf Geldmacher (wolf-womaro) said :
#1

Please check that /home/mehdi/projects/sabily-uck/customization-scripts/customize_root is executable (i.e. chmod 775 on customize_root) and that the shell named in the first line of the script (i.e. /bin/bash or /bin/sh) is available in the system being customized.

Revision history for this message
jMehdi (jmehdi-deactivatedaccount-deactivatedaccount) said :
#2

Thanks Wolf Geldmacher, that solved my question.