Looks like it to me:

irkl...@x200:/tmp$ mkdir foo
kirkl...@x200:/tmp$ cd foo/
kirkl...@x200:/tmp/foo$ touch a b c
kirkl...@x200:/tmp/foo$ chmod 740 a
kirkl...@x200:/tmp/foo$ chmod 700 b
kirkl...@x200:/tmp/foo$ chmod 444 c
kirkl...@x200:/tmp/foo$ zip foo.zip *
  adding: a (stored 0%)
  adding: b (stored 0%)
  adding: c (stored 0%)
kirkl...@x200:/tmp/foo$ cd ..
kirkl...@x200:/tmp$ mkdir foo2
kirkl...@x200:/tmp$ cd foo2/
kirkl...@x200:/tmp/foo2$ unzip ../foo/*zip
Archive:  ../foo/foo.zip
 extracting: a
 extracting: b
 extracting: c
kirkl...@x200:/tmp/foo2$ ls -alF
total 0
drwxr-xr-x  2 kirkland kirkland 100 2009-09-26 03:08 ./
drwxrwxrwt 28 root     root     920 2009-09-26 03:08 ../
-rwxr-----  1 kirkland kirkland   0 2009-09-26 03:08 a*
-rwx------  1 kirkland kirkland   0 2009-09-26 03:08 b*
-r--r--r--  1 kirkland kirkland   0 2009-09-26 03:08 c

-- 
credentials zip file should pack files with permissions 600
https://bugs.launchpad.net/bugs/409777
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to