Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

chmod 777 /home/w/uClinux-dist-test/romfs/tmp

Hi all,

I am folling

http://nioswiki.jot.com/wikihome/operating...ems/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/uclinuxdist)

to make boa,but I met the err message when I 'make':

make[1]: Entering directory `/home/w/uClinux-dist-test/vendors'

make -C /home/w/uClinux-dist-test/vendors/Altera/nios2nommu/. dir_v=/home/w/uClinux-dist-test/vendors/Altera/nios2nommu/. -f /home/w/uClinux-dist-test/vendors/vendors-common.mak romfs

make[2]: Entering directory `/home/w/uClinux-dist-test/vendors/Altera/nios2nommu'

[ -d /home/w/uClinux-dist-test/romfs/$i ] || mkdir -p /home/w/uClinux-dist-test/romfs

for i in bin dev etc etc/dhcpc home lib mnt proc sys usr var root home tmp home/httpd home/httpd/cgi-bin etc/boa /etc/config var/run var/lib/misc var/log/boa; do

[ -d /home/w/uClinux-dist-test/romfs/$i ] || mkdir -p /home/w/uClinux-dist-test/romfs/$i;

done

chmod 777 /home/w/uClinux-dist-test/romfs/tmp

chmod: 正在更改 ‘/home/w/uClinux-dist-test/romfs/tmp’ 的权限: 不允许的操作

make[2]: *** [romfs] Error 1

make[2]: Leaving directory `/home/w/uClinux-dist-test/vendors/Altera/nios2nommu'

make[1]: *** [romfs] Error 2

make[1]: Leaving directory `/home/w/uClinux-dist-test/vendors'

make: *** [romfs.subdirs] Error 1

Who can tell me why?Thanks a lot!

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    chmod: 正在更改 ‘/home/w/uClinux-dist-test/romfs/tmp’ 的权限: 不允许的操作

    the prompt is very clearly, you have no enoph right to change the file' right.

    you can use the "su" command,change to root.the you can do it.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by smalllight@Aug 25 2006, 05:50 PM

    chmod: 正在更改 ‘/home/w/uclinux-dist-test/romfs/tmp’ 的权限: 不允许的操作

    the prompt is very clearly, you have no enoph right to change the file' right.

    you can use the "su" command,change to root.the you can do it.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17830)

    --- quote end ---

    --- Quote End ---

    Thank you for your reply!smalllight.

    Do you mean that I should have to change makefile befor I "make"?

    I know how to change to root with command "su",but do not know how to change makefile.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by wangzhiwunpu+aug 28 2006, 08:25 am--><div class='quotetop'>quote (wangzhiwunpu @ aug 28 2006, 08:25 am)</div>

    --- quote start ---

    <!--quotebegin-smalllight@Aug 25 2006, 05:50 PM

    chmod: &#27491;&#22312;&#26356;&#25913; ‘/home/w/uclinux-dist-test/romfs/tmp’ &#30340;&#26435;&#38480;: &#19981;&#20801;&#35768;&#30340;&#25805;&#20316;

    the prompt is very clearly, you have no enoph right to change the file&#39; right.

    you can use the "su" command,change to root.the you can do it.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17830)

    --- quote end ---

    --- Quote End ---

    Thank you for your reply!smalllight.

    Do you mean that I should have to change makefile befor I "make"?

    I know how to change to root with command "su",but do not know how to change makefile.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17900)</div>

    [/b]

    --- Quote End ---

    yon don&#39;t have to change you make file, if you have a root right,there are no errror when you run the command chmod.so you only need change to root user then make.thats all