From: Vasya Makarov <drmoriarty@rambler.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm][JT] user copy
Date: Wed, 23 Nov 2005 12:36:35 +0300
Message-ID: <43843823.3070401@rambler.ru> (raw)
In-Reply-To: <a1b0b2150511230013u5b9a3a9ev@mail.gmail.com>
Алексей Синицын пишет:
> 23.11.05, Maxim.Savrilov@socenter.ru<Maxim.Savrilov@socenter.ru> написал(а):
>
>
>>>>>>Можно применить chown -R
>>>>>
>>>>>Это если пользователь не пошутил и симлинку на корень не сделал :)
>>>>
>>>>и что будет?
>>>>
>>>
>>>Всё, что ниже корня поменяет owner'а.
>>
>>не так
>>
>
>
>>т.е. владельцы меняются только на каталог. на который непосредственно указывает симлинк
>>да, то что в руте, поменяет владельца, то, что ниже на уровень и дальше - нет
>>
>
>
> Но даже это - нехорошо (мы-же не знаем _куда_ умный юзер накидал
> линков:), то есть chown лучше действительно не применять.
>
> Вообще если раньше rm -rf / от юзера молча обламывалось а теперь трет
> все его файлы, то можно предположить и что chown на предмет симлинков
> починят :)
>
Как полезно иногда маны почитывать
-h If the file is a symbolic link, change the owner of
the symbolic link. Without this option, the owner of
the file referenced by the symbolic link is changed.
И всё пучком.
--
Regards,
Vasya
next prev parent reply other threads:[~2005-11-23 9:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 12:34 [Comm] " K. A. Bylym
2005-11-16 13:40 ` Aleksander N. Gorohovski
2005-11-17 10:37 ` spider
2005-11-17 13:41 ` Aleksander N. Gorohovski
2005-11-18 14:12 ` Алексей Синицын
2005-11-18 14:35 ` [Comm][JT] " Vasya Makarov
2005-11-23 4:24 ` Maxim.Savrilov
2005-11-23 6:25 ` Vasya Makarov
2005-11-23 6:52 ` Maxim.Savrilov
2005-11-23 8:13 ` Алексей Синицын
2005-11-23 9:36 ` Vasya Makarov [this message]
2005-12-07 3:21 ` Maxim.Savrilov
2005-11-19 11:25 ` [Comm] " Aleksander N. Gorohovski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43843823.3070401@rambler.ru \
--to=drmoriarty@rambler.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git