Podmontowałem sobie zasób cifs pod opt :
mount -t cifs //192.168.1.8/home/Moje/ipkg /opt -o username=****,password=****
wydawać by się mogło że zrobiłem wszystko zgodnie z tym :
https://openlinksys.info/forum/viewthread.php?thread_id=7607
niestety po puszczeniu skryptu :
/usr/sbin# ./optware-install.sh
Checking system config ...
Using 10.64.64.64 as default gateway.
Using the following nameserver(s):
nameserver 127.0.0.1
Warning
opt partition not empty!
Installing package uclibc-opt_0.9.28-13_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
uclibc-opt_0.9.28-13 100% |**************************************************************************************************************************| 832k 0:00:00 ETA
tar: can't create symlink from ./opt/lib/ld-uClibc.so.0 to ld-uClibc-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libc.so to libc.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libc.so.0 to libuClibc-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libcrypt.so to libcrypt.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libcrypt.so.0 to libcrypt-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libdl.so to libdl.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libdl.so.0 to libdl-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libgcc_s.so to libgcc_s.so.1: Permission denied
tar: can't create symlink from ./opt/lib/libintl.so to libintl.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libintl.so.0 to libintl-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libm.so to libm.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libm.so.0 to libm-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libmudflap.so to libmudflap.so.0.0.0: Permission denied
tar: can't create symlink from ./opt/lib/libmudflap.so.0 to libmudflap.so.0.0.0: Permission denied
tar: can't create symlink from ./opt/lib/libmudflapth.so to libmudflapth.so.0.0.0: Permission denied
tar: can't create symlink from ./opt/lib/libmudflapth.so.0 to libmudflapth.so.0.0.0: Permission denied
tar: can't create symlink from ./opt/lib/libnsl.so to libnsl.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libnsl.so.0 to libnsl-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libpthread.so to libpthread.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libpthread.so.0 to libpthread-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libresolv.so to libresolv.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libresolv.so.0 to libresolv-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/librt.so to librt.so.0: Permission denied
tar: can't create symlink from ./opt/lib/librt.so.0 to librt-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libstdc++.so to libstdc++.so.6.0.8: Permission denied
tar: can't create symlink from ./opt/lib/libstdc++.so.6 to libstdc++.so.6.0.8: Permission denied
tar: can't create symlink from ./opt/lib/libthread_db.so to libthread_db.so.1: Permission denied
tar: can't create symlink from ./opt/lib/libthread_db.so.1 to libthread_db-0.9.28.so: Permission denied
tar: can't create symlink from ./opt/lib/libutil.so to libutil.so.0: Permission denied
tar: can't create symlink from ./opt/lib/libutil.so.0 to libutil-0.9.28.so: Permission denied
Updating /opt/etc/ld.so.cache
/opt/sbin/ldconfig: can't link /opt/lib/libipkg.so.0 to libipkg.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libutil.so.0 to libutil-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libc.so.0 to libuClibc-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libthread_db.so.1 to libthread_db-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libstdc++.so.6 to libstdc++.so.6.0.8: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/librt.so.0 to librt-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libresolv.so.0 to libresolv-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libpthread.so.0 to libpthread-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libnsl.so.0 to libnsl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libmudflapth.so.0 to libmudflapth.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libmudflap.so.0 to libmudflap.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libm.so.0 to libm-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libintl.so.0 to libintl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libdl.so.0 to libdl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libcrypt.so.0 to libcrypt-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/ld-uClibc.so.0 to ld-uClibc-0.9.28.so: Permission denied
/opt/sbin/ldconfig: Remove `/opt/lib' from `/opt/etc/ld.so.conf'
/opt/sbin/ldconfig: Remove `/opt/usr/lib' from `/opt/etc/ld.so.conf'
Installing package ipkg-opt_0.99.163-10_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.161:80)
ipkg-opt_0.99.163-10 100% |**************************************************************************************************************************| 75831 0:00:00 ETA
tar: can't create symlink from ./opt/bin/ipkg-opt to ipkg: Permission denied
tar: can't create symlink from ./opt/lib/libipkg.so to libipkg.so.0.0.0: Permission denied
tar: can't create symlink from ./opt/lib/libipkg.so.0 to libipkg.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libipkg.so.0 to libipkg.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libutil.so.0 to libutil-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libc.so.0 to libuClibc-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libthread_db.so.1 to libthread_db-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libstdc++.so.6 to libstdc++.so.6.0.8: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/librt.so.0 to librt-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libresolv.so.0 to libresolv-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libpthread.so.0 to libpthread-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libnsl.so.0 to libnsl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libmudflapth.so.0 to libmudflapth.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libmudflap.so.0 to libmudflap.so.0.0.0: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libm.so.0 to libm-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libintl.so.0 to libintl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libdl.so.0 to libdl-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/libcrypt.so.0 to libcrypt-0.9.28.so: Permission denied
/opt/sbin/ldconfig: can't link /opt/lib/ld-uClibc.so.0 to ld-uClibc-0.9.28.so: Permission denied
/opt/sbin/ldconfig: Remove `/opt/lib' from `/opt/etc/ld.so.conf'
/opt/sbin/ldconfig: Remove `/opt/usr/lib' from `/opt/etc/ld.so.conf'
./optware-install.sh: line 91
opt/bin/ipkg: not found
./optware-install.sh: line 92
opt/bin/ipkg: not found
./optware-install.sh: line 93
opt/bin/ipkg: not found
./optware-install.sh: line 97
opt/bin/ipkg: not found
Co może być przyczyną takiego stanu ?
Połączony z 25 sierpień 2015 20:23:09:
Co ciekawe tak się jeszcze zachowuje :
root@xxxx:/opt/bin# ls -al
drwxrwxrwx 2 root root 0 Aug 25 20:13 .
drwxrwxrwx 8 root root 0 Feb 19 2012 ..
-rwxrwxrwx 1 root root 3852 Feb 19 2012 ipkg
-rwxrwxrwx 1 root root 4248 Feb 19 2012 update-alternatives
root@xxxx:/opt/bin# ./ipkg
-sh: ./ipkg: not found