免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3113 | 回复: 12
打印 上一主题 下一主题

[学习分享] 菜鸟遇到一个问题,请教一下各位 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-07-13 11:18 |只看该作者 |倒序浏览
就是我想解压一个文件,然后使用了命令tar xjf xxxxxxx,结果发现解压的每一项全都说不能创建目录。


然后我就觉得应该是由于我不是root登陆,然后我就在前面加上sudo,结果每次一执行这个命令,它就需要等待一下,结果什么变化都没有,并没有进行解压。


这个命令完了以后我看了一下。也没有找到解压后的目录什么的。


然后我想了一下是不是由于文件只有r这个权限。
然后我就用chmod 777 xxxxxxxxx
结果还是一样,执行解压的时候没有任何反应。

本人刚刚接触linux,望各位不吝赐教~

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-07-11 22:20:00
2 [报告]
发表于 2015-07-13 11:33 |只看该作者
你在光盘目录下怎么解压?
光盘是只读的。

论坛徽章:
0
3 [报告]
发表于 2015-07-13 11:36 |只看该作者
回复 2# cst05001


    我已经把光盘上的内容复制到了自己的目录下/work/bookcd里面了。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-07-11 22:20:00
4 [报告]
发表于 2015-07-13 11:40 |只看该作者
回复 3# Bee_Li


    tar zxvf
把输出贴上来看看

论坛徽章:
0
5 [报告]
发表于 2015-07-13 11:45 |只看该作者
回复 4# cst05001


tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ixp4xx/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ixp4xx/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/cpu-single.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/hdreg.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/unistd.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/parport.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/processor.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/corgi.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/pxa-regs.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/timex.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/irqs.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/irq.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/lubbock.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/vmalloc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/bitfield.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/dma.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/uncompress.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/mmc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/idp.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/system.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/poodle.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/memory.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-pxa/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/semaphore.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/linkage.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/timex.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/irqs.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/vmalloc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/dma.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/uncompress.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/system.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/memory.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-ebsa285/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/byteorder.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/pgalloc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/shmbuf.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/excalibur.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/timex.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/irqs.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/mode_ctrl00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/uart00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/timer00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/vmalloc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/dma.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/platform.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/uncompress.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/ether00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/tdkphy.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/pld_conf00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/system.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/memory.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/int_ctrl00.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-epxa10db/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/suspend.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/sizes.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/shmparam.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/system.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mmu_context.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/memory.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/sembuf.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/param.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/siginfo.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/cacheflush.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/map.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/irq.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/dma.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/sharpsl_param.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/mmc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/flash.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/serial_sa1100.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/mach/arch.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/msgbuf.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/procinfo.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/module.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-timer.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/timex.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-iis.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/map.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-gpio.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-clock.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/irqs.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/vmalloc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-irq.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/bast-cpld.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-nand.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-lcd.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/bast-irq.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-spi.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/bast-map.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/dma.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-sdi.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/vr1000-map.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/uncompress.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-iic.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/vr1000-irq.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-serial.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-adc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/vr1000-cpld.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-dsc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-watchdog.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/usb-control.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-rtc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-udc.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/otom-map.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-mem.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/system.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/regs-gpioj.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/memory.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/nand.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/io.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/arch-s3c2410/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/sigcontext.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/hardware.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/asm/ioctl.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/netash: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/netash/ash.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/sys-include/fstab.h: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/etc: Cannot mkdir: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux/etc/rpc: Cannot open: No such file or directory
tar: gcc-3.4.5-glibc-2.3.6: Cannot mkdir: Permission denied
tar: gcc-3.4.5-glibc-2.3.6/arm-linux.crosstoolconfig.txt: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors


这是我之前执行的tar xjf记录,开头有部分没有了。
然后我现在再执行tar xjf。
bee@bee-virtual-machine:/work/bookcd/tools$ tar xjf arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2
bee@bee-virtual-machine:/work/bookcd/tools$
直接什么提示都没给我。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-07-11 22:20:00
6 [报告]
发表于 2015-07-13 11:55 |只看该作者
本帖最后由 cst05001 于 2015-07-13 11:58 编辑
  1. touch a > gcc-3.4.5-glibc-2.3.6/test
  2. whoami
  3. getenforce
复制代码
贴出来看看

论坛徽章:
0
7 [报告]
发表于 2015-07-13 12:10 |只看该作者
回复 6# cst05001



bee@bee-virtual-machine:/work/bookcd/tools$ cd gcc-3.4.5-glibc-2.3.6/
bee@bee-virtual-machine:/work/bookcd/tools/gcc-3.4.5-glibc-2.3.6$ ls
arm-linux                      bin          include  lib      man
arm-linux.crosstoolconfig.txt  distributed  info     libexec  tmp
bee@bee-virtual-machine:/work/bookcd/tools/gcc-3.4.5-glibc-2.3.6$ whoami
bee
bee@bee-virtual-machine:/work/bookcd/tools/gcc-3.4.5-glibc-2.3.6$ getenforce
The program 'getenforce' is currently not installed. You can install it by typing:
sudo apt-get install selinux-utils

大概是这样吗,我不太懂,在gcc-3.4.5-glibc-2.3.6里面,没有找到那个test的目录。
我直接在gcc-3.4.5-glibc-2.3.6目录上执行了你说的 whoami和getenforce。

论坛徽章:
0
8 [报告]
发表于 2015-07-13 16:09 |只看该作者
sudo tar jxvf 试一下吧

论坛徽章:
5
数据库技术版块每日发帖之星
日期:2015-08-01 06:20:00数据库技术版块每日发帖之星
日期:2015-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-01-11 06:20:00数据库技术版块每日发帖之星
日期:2016-01-22 06:20:00程序设计版块每日发帖之星
日期:2016-05-09 06:20:00
9 [报告]
发表于 2015-07-27 10:38 |只看该作者
可能是你所在的目录下,没有创建目录的权限的原因。你可以将压缩文件复制到当前用户的主目录(cd )下,解压缩试试。这样也不行的话,你把压缩文件的的所有者权限改一下(chown vbird(你的用户名字) *.tar.bz2)。再唠叨两句,你如果有root密码的话,可以直接使用root进行解压(切换root账号方法:su 回车)

论坛徽章:
41
操作系统版块每日发帖之星
日期:2016-08-21 06:20:00每日论坛发贴之星
日期:2016-05-05 06:20:00操作系统版块每日发帖之星
日期:2016-05-05 06:20:00IT运维版块每日发帖之星
日期:2016-05-05 06:20:0015-16赛季CBA联赛之山西
日期:2016-04-27 08:49:00操作系统版块每日发帖之星
日期:2016-04-25 06:20:00操作系统版块每日发帖之星
日期:2016-04-17 06:23:2815-16赛季CBA联赛之吉林
日期:2016-03-25 15:46:3415-16赛季CBA联赛之四川
日期:2016-03-25 14:26:19操作系统版块每日发帖之星
日期:2016-05-27 06:20:00操作系统版块每日发帖之星
日期:2016-05-28 06:20:00IT运维版块每日发帖之星
日期:2016-08-18 06:20:00
10 [报告]
发表于 2015-07-27 11:03 |只看该作者
提示就是当前目录下无权限
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP