From: Maxim.Savrilov@socenter.ru
To: drmoriarty@rambler.ru,
ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm][JT] user copy
Date: Wed, 23 Nov 2005 12:52:53 +0600
Message-ID: <20051123125253.576db74e.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <43840B73.4070207@rambler.ru>
On Wed, 23 Nov 2005 09:25:55 +0300
Vasya Makarov <drmoriarty@rambler.ru> wrote:
> Maxim.Savrilov@socenter.ru пишет:
> > On Fri, 18 Nov 2005 17:35:47 +0300
> > Vasya Makarov <drmoriarty@rambler.ru> wrote:
> >
> >
> >>> Можно применить chown -R
> >>>
> >>
> >>Это если пользователь не пошутил и симлинку на корень не сделал :)
> >
> >
> > и что будет?
> >
> Всё, что ниже корня поменяет owner'а.
не так
[smi@smi tmp]$ ls -lR /home/smi/tmp/3
/home/smi/tmp/3:
итого 0
drwxr-xr-x 2 smi smi 16 Ноя 23 12:45 0
drwxr-xr-x 3 smi smi 16 Ноя 23 12:45 1
/home/smi/tmp/3/0:
итого 0
lrwxrwxrwx 1 smi smi 21 Ноя 23 12:45 smb -> /home/smi/tmp/3/1/smb
/home/smi/tmp/3/1:
итого 0
drwxr-xr-x 3 root root 17 Ноя 23 12:45 smb
/home/smi/tmp/3/1/smb:
итого 0
drwxr-xr-x 2 root root 6 Ноя 23 12:34 test
/home/smi/tmp/3/1/smb/test:
===========================================================
[smi@smi tmp]$ sudo chown -R apache.webmaster ./3/0
Для продолжения нажмите любую клавишу...
[smi@smi tmp]$ ls -lR /home/smi/tmp/3
/home/smi/tmp/3:
итого 0
drwxr-xr-x 2 apache webmaster 16 Ноя 23 12:45 0
drwxr-xr-x 3 root root 16 Ноя 23 12:45 1
/home/smi/tmp/3/0:
итого 0
lrwxrwxrwx 1 smi smi 21 Ноя 23 12:45 smb -> /home/smi/tmp/3/1/smb
/home/smi/tmp/3/1:
итого 0
drwxr-xr-x 3 apache webmaster 17 Ноя 23 12:45 smb
/home/smi/tmp/3/1/smb:
итого 0
drwxr-xr-x 2 root root 6 Ноя 23 12:34 test
/home/smi/tmp/3/1/smb/test:
итого 0
т.е. владельцы меняются только на каталог. на который непосредственно указывает симлинк
да, то что в руте, поменяет владельца, то, что ниже на уровень и дальше - нет
--
Из окна его комнаты открывался великолепный вид на парк
c прекрасным сектором обстрела.
next prev parent reply other threads:[~2005-11-23 6:52 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 [this message]
2005-11-23 8:13 ` Алексей Синицын
2005-11-23 9:36 ` Vasya Makarov
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=20051123125253.576db74e.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.ru \
--cc=community@lists.altlinux.org \
--cc=drmoriarty@rambler.ru \
/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