/mnt/ram/tmp # umask 0 /mnt/ram/tmp # mkdir test_dir /mnt/ram/tmp # chmod 1777 test_dir /mnt/ram/tmp # touch test_file /mnt/ram/tmp # chmod 4777 test_file /mnt/ram/tmp # ls -ld test_dir test_file drwxrwxrwt 2 root root 40 Apr 7 10:20 test_dir -rwsrwxrwx 1 root root 0 Apr 7 10:20 test_file /mnt/ram/tmp # tar zcvf test.tar.gz test_dir test_file test_dir/ test_file /mnt/ram/tmp # tar ztvf test.tar.gz drwxrwxrwt 0/0 0 2007-04-07 10:20:22 test_dir/ -rwsrwxrwx 0/0 0 2007-04-07 10:20:33 test_file /mnt/ram/tmp # rm -fr test_dir test_file /mnt/ram/tmp # tar zxvf test.tar.gz test_dir/ test_file /mnt/ram/tmp # ls -ld test_dir test_file drwxrwxrwt 2 root root 40 Apr 7 10:20 test_dir -rwxrwxrwx 1 root root 0 Apr 7 10:20 test_file /mnt/ram/tmp #setuid ビットが落ちている。
/mnt/ram/tmp # rm -fr test_dir test_file /mnt/ram/tmp # tar zxvpf test.tar.gz test_dir/ test_file /mnt/ram/tmp # ls -ld test_dir test_file drwxrwxrwt 2 root root 40 Apr 7 10:20 test_dir -rwxrwxrwx 1 root root 0 Apr 7 10:20 test_file /mnt/ram/tmp #いっしょ(藁)
InitDisk1.sh に手を入れてなんとかならんかと思ったがダメのよう
|  | 玄人志向 楽天市場 |  | 玄人志向 |  玄箱PROをハックしよう | ASCII 楽天ブックス Amazon | 
| ← 苦労と試行 尻有コンソールキット/Pro | ハックの記録 LinkStation/玄箱 をハックしよう | → リブートできない(2) |