|
ru.unix.bsd
- RU.UNIX.BSD ------------------------------------------------------------------
From : Victor Sudakov 2:5020/400 14 Dec 2005 12:46:18
To : Alex Masterov
Subject : Re: umask and ports, packages, world installation
--------------------------------------------------------------------------------
Alex Masterov wrote:
>
> >> В правах самого tar-архива - он же для каждого файла метаданные
> >> сохраняет.
> VS> При разворачивании из архива действует текущий umask.
>
> root@testbsd# touch 1.txt
> root@testbsd# chmod 700 1.txt
> root@testbsd# ls -l 1.txt
> -rwx------ 1 root wheel 0 14 дек 11:53 1.txt
> root@testbsd# tar cf 1.tar 1.txt
> root@testbsd# rm 1.txt
> root@testbsd# umask
> 0022
> root@testbsd# tar xf 1.tar
> root@testbsd# ls -l 1.txt
> -rwx------ 1 root wheel 0 14 дек 11:53 1.txt
man 2 umask, да? :)
Потому что я-то имел в виду обратный случай.
$
$tar tvf test.tar
-rw-r--r-- sudakov/user 0 14 дек 14:04 2005 test
$umask
77
$tar xf test.tar
$ls -al test
-rw------- 1 sudakov user 0 14 дек 14:04 test
$
тут даже -p не поможет.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/
--- ifmail v.2.15dev5.3
* Origin: AO "Svyaztransneft", SibPTUS (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Тема: |
Автор: |
Дата: |
umask and ports, packages, world installation |
Victor Sudakov |
07 Dec 2005 08:46:03 |
Re: umask and ports, packages, world installation |
Valentin Davydov |
10 Dec 2005 10:27:10 |
 Re: umask and ports, packages, world installation |
Victor Sudakov |
10 Dec 2005 13:31:00 |
 Re: umask and ports, packages, world installation |
Valentin Davydov |
12 Dec 2005 19:25:59 |
 Re: umask and ports, packages, world installation |
Victor Sudakov |
13 Dec 2005 07:21:21 |
 Re: umask and ports, packages, world installation |
Vadim Goncharov |
13 Dec 2005 14:40:21 |
 Re: umask and ports, packages, world installation |
Victor Sudakov |
13 Dec 2005 15:11:25 |
 Re: umask and ports, packages, world installation |
Andrew Filonov |
13 Dec 2005 18:48:40 |
  Re: umask and ports, packages, world installation |
Victor Sudakov |
13 Dec 2005 21:36:17 |
  Re: umask and ports, packages, world installation |
Andrew Filonov |
13 Dec 2005 22:03:56 |
  Re: umask and ports, packages, world installation |
Victor Sudakov |
14 Dec 2005 07:46:58 |
  umask and ports, packages, world installation |
Artem S. Ignatiev |
14 Dec 2005 09:06:52 |
   Re: umask and ports, packages, world installation |
Victor Sudakov |
14 Dec 2005 10:07:48 |
  umask and ports, packages, world installation |
Alex Semenyaka |
14 Dec 2005 12:39:34 |
   Re: umask and ports, packages, world installation |
Andrew Filonov |
15 Dec 2005 13:45:49 |
   umask and ports, packages, world installation |
Alex Semenyaka |
16 Dec 2005 17:47:26 |
  umask and ports, packages, world installation |
Alex Semenyaka |
13 Dec 2005 22:26:12 |
  umask and ports, packages, world installation |
Alex Semenyaka |
13 Dec 2005 21:36:22 |
   Re: umask and ports, packages, world installation |
Andrew Filonov |
14 Dec 2005 03:05:08 |
   umask and ports, packages, world installation |
Alex Semenyaka |
14 Dec 2005 11:09:04 |
 umask and ports, packages, world installation |
Alex Masterov |
14 Dec 2005 12:51:32 |
 Re: umask and ports, packages, world installation |
Victor Sudakov |
14 Dec 2005 12:46:18 |
  Re: umask and ports, packages, world installation |
Anatoli Klassen |
14 Dec 2005 14:07:22 |
  Re: umask and ports, packages, world installation |
Victor Sudakov |
14 Dec 2005 19:46:16 |
  umask and ports, packages, world installation |
Alex Masterov |
14 Dec 2005 17:51:28 |
   umask and ports, packages, world installation |
Alex Masterov |
14 Dec 2005 18:06:10 |
   Re: umask and ports, packages, world installation |
Vadim Goncharov |
14 Dec 2005 20:21:21 |
    umask and ports, packages, world installation |
Alex Masterov |
15 Dec 2005 14:34:54 |
     Re: umask and ports, packages, world installation |
Vadim Goncharov |
15 Dec 2005 21:56:19 |
   umask and ports, packages, world installation |
Artem S. Ignatiev |
14 Dec 2005 23:17:52 |
   Re: umask and ports, packages, world installation |
Igorx Ivanov |
15 Dec 2005 10:18:55 |
    umask and ports, packages, world installation |
Alex Masterov |
15 Dec 2005 16:21:28 |
    umask and ports, packages, world installation |
Artem S. Ignatiev |
16 Dec 2005 02:37:20 |
   Re: umask and ports, packages, world installation |
Igorx Ivanov |
15 Dec 2005 10:31:39 |
   umask and ports, packages, world installation |
Alex Masterov |
15 Dec 2005 14:31:20 |
   umask and ports, packages, world installation |
Artem S. Ignatiev |
16 Dec 2005 02:41:42 |
   umask and ports, packages, world installation |
Slawa Olhovchenkov |
16 Dec 2005 04:27:08 |
   umask and ports, packages, world installation |
Artem S. Ignatiev |
17 Dec 2005 00:16:42 |
   umask and ports, packages, world installation |
Alex Masterov |
19 Dec 2005 13:24:28 |
 umask and ports, packages, world installation |
Artem S. Ignatiev |
14 Dec 2005 23:11:52 |
|
|