| View previous topic :: View next topic |
| Author |
Message |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Wed Apr 19, 2006 6:59 pm Post subject: Permission denied while install UT2004 (SOLVED) |
|
|
Hy @ll
I have try to install UT2004 from DVD....but I don't want it to install in /usr/games on my root partionen so I have change the paths in the ebuild file to
/usr/portage/games-fps/ut2004-data/ut2004-data-3186-r3.ebuild
| Code: |
FROM:
#dir=${GAMES_PREFIX_OPT}/ut2004
#Ddir=${D}/${dir}
TO:
dir=/mnt/work/ut2004-lnx
Ddir=${dir}
|
The /mnt/work partition is a FAT32 with enough space on it.
/etc/fstab
| Code: |
/dev/hda7 /mnt/work vfat user,uid=jointy,gid=users,umask=0000 0 0
|
ls -al /mnt/work
| Code: |
drwxrwxrwx 8 jointy users 8192 Jan 1 1970 work
|
I have added the umask=0000 option so all users have full access on it.
But if I try to emerge the game I get this f*****g error see below.
The Error:
| Code: |
plato ~ # emerge -av ut2004
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] games-fps/ut2004-data-3186-r3 0 kB
[ebuild N ] games-fps/ut2004-bonuspack-ece-1-r2 198,363 kB
[ebuild N ] games-fps/ut2004-bonuspack-mega-1-r1 0 kB
[ebuild N ] games-fps/ut2004-3369-r4 +opengl 21,938 kB
Total size of downloads: 220,302 kB
Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 4) games-fps/ut2004-data-3186-r3 to /
>>> md5 files ;-) ut2004-data-3186-r3.ebuild
>>> md5 files ;-) files/digest-ut2004-data-3186-r3
* This is a huge package. If you do not have at least 7GB of free
* disk space in /var/tmp and also in /opt then
* you should abort this installation now and free up some space.
* This package will need access to 6 cds.
* If you do not have the CDs, but have the data files
* mounted somewhere on your filesystem, just export
* the following variables so they point to the right place:
* CD_ROOT_1 CD_ROOT_2 CD_ROOT_3 CD_ROOT_4 CD_ROOT_5 CD_ROOT_6
* Or, if you have all the files in the same place, or
* you only have one cdrom, you can export CD_ROOT
* and that place will be used as the same data source
* for all the CDs.
* For example:
* export CD_ROOT_1=/mnt/cdrom
* Found CD #1 root at /mnt/cdrom
>>> Unpacking source...
>>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-data-3186-r3/work
>>> Source unpacked.
>>> Test phase [not enabled]: games-fps/ut2004-data-3186-r3
>>> Install ut2004-data-3186-r3 into /var/tmp/portage/ut2004-data-3186-r3/image/ category games-fps
* Copying files from Disk 1...
cp: cannot create directory `/mnt/work/ut2004-lnx/Animations': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/ForceFeedback
cp: cannot create directory `/mnt/work/ut2004-lnx/ForceFeedback': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/Help
cp: cannot create directory `/mnt/work/ut2004-lnx/Help': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/KarmaData
cp: cannot create directory `/mnt/work/ut2004-lnx/KarmaData': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/Maps
cp: cannot create directory `/mnt/work/ut2004-lnx/Maps': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/Sounds
cp: cannot create directory `/mnt/work/ut2004-lnx/Sounds': Permission denied
ACCESS DENIED mkdir: /mnt/work/ut2004-lnx/Web
cp: cannot create directory `/mnt/work/ut2004-lnx/Web': Permission denied
!!! ERROR: games-fps/ut2004-data-3186-r3 failed.
!!! Function src_install, Line 96, Exitcode 1
!!! copying files
!!! If you need support, post the topmost build error, NOT this status message.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-games-fps_-_ut2004-data-3186-r3-15233.log"
mkdir: /mnt/work/ut2004-lnx/Animations
mkdir: /mnt/work/ut2004-lnx/ForceFeedback
mkdir: /mnt/work/ut2004-lnx/Help
mkdir: /mnt/work/ut2004-lnx/KarmaData
mkdir: /mnt/work/ut2004-lnx/Maps
mkdir: /mnt/work/ut2004-lnx/Sounds
mkdir: /mnt/work/ut2004-lnx/Web
--------------------------------------------------------------------------------
|
^^After some tries I have decide to use the install script from the DVD, but if I try to start the game he says me that I have no access on it through /bin/sh
^^what the hell is going wrong there, is the vfat partition the problem ???
^^please help me....
regard
J0!nty _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0)
Last edited by Jointy on Tue Aug 29, 2006 12:36 pm; edited 1 time in total |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Wed Apr 19, 2006 7:29 pm Post subject: Re: Permission denied while install UT2004 |
|
|
| Jointy wrote: | | but I don't want it to install in /usr/games on my root partionen so I have change the paths in the ebuild file to |
No, you don't, you just have to set GAMES_PREFIX_OPT somewhere. |
|
| Back to top |
|
 |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Wed Apr 19, 2006 8:49 pm Post subject: This doesn't work |
|
|
hy @ll
these code are working but I have ONE BIG PROBLEM
| Code: |
export GAMES_PREFIX_OPT=/mnt/work && emerge -av games-fps/ut2004
|
^^I know why it doesn't work, because on my root partition is only 5.4 GB free and thats not enough to copy the files to /var/tmp/portage/ut2004-data-3186-r3/image//mnt/work/ut2004-lnx/
^^so I need a workaround that produce only one copy of it....does anyone know it ??? _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Wed Apr 19, 2006 8:56 pm Post subject: Re: This doesn't work |
|
|
| Jointy wrote: | | because on my root partition is only 5.4 GB free and thats not enough to copy the files to var/tmp/portage/ |
UT2004 is a huge package. It shows up the "limitations" of Portage, e.g. that the entire contents are duplicated into ${D} before being copied to /opt/. So, free up some more disk space, or install it manually as a last resort. |
|
| Back to top |
|
 |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Wed Apr 19, 2006 9:00 pm Post subject: Re: This doesn't work |
|
|
| PaulBredbury wrote: | | Jointy wrote: | | because on my root partition is only 5.4 GB free and thats not enough to copy the files to var/tmp/portage/ |
UT2004 is a huge package. It shows up the "limitations" of Portage, e.g. that the entire contents are duplicated into ${D} before being copied to /opt/. So, free up some more disk space, or install it manually as a last resort. |
^^thanks for the tip.....
BUT IT CAN'T BE THAT IT NEED OVER 14GB of DISK to "ONLY" install 7,4GB.....
^^SRY IF I SAY THAT....BUT FUCK EMERGE......
^^DOES ANYONE KNOWS a workaround _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6506
|
Posted: Wed Apr 19, 2006 9:04 pm Post subject: |
|
|
| Rewrite Portage. Or, much easier, buy a non-miniscule hard drive. Or, if you really must, install it outside of Portage. |
|
| Back to top |
|
 |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Wed Apr 19, 2006 9:42 pm Post subject: |
|
|
| PaulBredbury wrote: | | Rewrite Portage. Or, much easier, buy a non-miniscule hard drive. Or, if you really must, install it outside of Portage. |
^^sry but this workaround can't it be  _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
| Back to top |
|
 |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Thu Apr 20, 2006 3:18 pm Post subject: |
|
|
Hy @ll
Now I have another problem, the partition is a vfat and so you can change the owner with chown (see below).
The problem is that I can't change the partition typ because WIN(stupid) in german WINDOOF can't read other typs like ext2 or something else....
And because I use it for other games so I can't change the typ.....does anyone knows a workaround for this ???
Command to install:
| Code: |
export GAMES_PREFIX_OPT=/mnt/work && USE="-sandbox" emerge -av games-fps/ut2004
|
Error:
| Code: |
File "/usr/lib/portage/pym/portage.py", line 6845, in mergeme
os.chown(mydest,mystat[4],mystat[5])
OSError: [Errno 1] Operation not permitted: '/mnt/work/ut2004-lnx/Web'
|
ErrorLog:
| Code: |
plato ~ # export GAMES_PREFIX_OPT=/mnt/work && USE="-sandbox" emerge -av games-fps/ut2004
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] games-fps/ut2004-data-3186-r3 0 kB
[ebuild N ] games-fps/ut2004-bonuspack-ece-1-r2 198,363 kB
[ebuild N ] games-fps/ut2004-bonuspack-mega-1-r1 0 kB
[ebuild N ] games-fps/ut2004-3369-r4 +opengl 21,938 kB
Total size of downloads: 220,302 kB
Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 4) games-fps/ut2004-data-3186-r3 to /
*** Adjusting cvs-src permissions for portage user...
>>> md5 files ;-) ut2004-data-3186-r3.ebuild
>>> md5 files ;-) files/digest-ut2004-data-3186-r3
* This is a huge package. If you do not have at least 7GB of free
* disk space in /var/tmp and also in /mnt/work then
* you should abort this installation now and free up some space.
* This package will need access to 6 cds.
* If you do not have the CDs, but have the data files
* mounted somewhere on your filesystem, just export
* the following variables so they point to the right place:
* CD_ROOT_1 CD_ROOT_2 CD_ROOT_3 CD_ROOT_4 CD_ROOT_5 CD_ROOT_6
* Or, if you have all the files in the same place, or
* you only have one cdrom, you can export CD_ROOT
* and that place will be used as the same data source
* for all the CDs.
* For example:
* export CD_ROOT_1=/mnt/cdrom
* Found CD #1 root at /mnt/cdrom
>>> Unpacking source...
>>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-data-3186-r3/work
>>> Source unpacked.
>>> Test phase [not enabled]: games-fps/ut2004-data-3186-r3
>>> Install ut2004-data-3186-r3 into /var/tmp/portage/ut2004-data-3186-r3/image/ category games-fps
* Copying files from Disk 1...
* Found CD #2 root at /mnt/cdrom
* Copying files from Disk 2...
Copying /mnt/cdrom/CD2/Sounds
Copying /mnt/cdrom/CD2/Textures
* Found CD #3 root at /mnt/cdrom
* Copying files from Disk 3...
Copying /mnt/cdrom/CD3/Textures
* Found CD #4 root at /mnt/cdrom
* Copying files from Disk 4...
Copying /mnt/cdrom/CD4/Music
Copying /mnt/cdrom/CD4/StaticMeshes
Copying /mnt/cdrom/CD4/Textures
* Found CD #5 root at /mnt/cdrom
* Copying files from Disk 5...
Copying /mnt/cdrom/CD5/Music
Copying /mnt/cdrom/CD5/Sounds
Copying /mnt/cdrom/CD5/Speech
* Found CD #6 root at /mnt/cdrom
* Copying files from Disk 6...
Copying /mnt/cdrom/CD6/Sounds
Copying /mnt/cdrom/CD6/Speech
* Uncompressing files... this *will* take a while...
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
mnt/work/ut2004-lnx/System/libSDL-1.2.so.0
mnt/work/ut2004-lnx/System/openal.so
strip: i686-pc-linux-gnu-strip --strip-unneeded
QA Notice: the following files contain runtime text relocations
Text relocations require a lot of extra work to be preformed by the
dynamic linker which will cause serious performance impact on IA-32
and might not function properly on other architectures hppa for example.
If you are a programmer please take a closer look at this package and
consider writing a patch which addresses this problem.
TEXTREL mnt/work/ut2004-lnx/System/libSDL-1.2.so.0
>>> Completed installing ut2004-data-3186-r3 into /var/tmp/portage/ut2004-data-3186-r3/image/
>>> Merging games-fps/ut2004-data-3186-r3 to /
--- /mnt/
--- /mnt/work/
--- /mnt/work/ut2004-lnx/
Traceback (most recent call last):
File "/usr/bin/emerge", line 3228, in ?
mydepgraph.merge(pkglist)
File "/usr/bin/emerge", line 1912, in merge
retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree") File "/usr/lib/portage/pym/portage.py", line 2771, in doebuild
return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree) File "/usr/lib/portage/pym/portage.py", line 2946, in merge
return mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/usr/lib/portage/pym/portage.py", line 6984, in merge
return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
File "/usr/lib/portage/pym/portage.py", line 6593, in treewalk
if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
File "/usr/lib/portage/pym/portage.py", line 6849, in mergeme
if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
File "/usr/lib/portage/pym/portage.py", line 6849, in mergeme
if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
File "/usr/lib/portage/pym/portage.py", line 6849, in mergeme
if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
File "/usr/lib/portage/pym/portage.py", line 6845, in mergeme
os.chown(mydest,mystat[4],mystat[5])
OSError: [Errno 1] Operation not permitted: '/mnt/work/ut2004-lnx/Web'
|
regard
J0!nty _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
| Back to top |
|
 |
Jointy Tux's lil' helper


Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Tue Aug 29, 2006 12:38 pm Post subject: |
|
|
The answer is don't use any Win Partitions for that......not more.....
Since a few month its work fine for me with a reiserfs partition.....
^^Sry 4 that late answer, but I had forgotten this
regard
Jointy _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|