From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux general discussion list <community@altlinux.ru>
Subject: Re: [Comm] дыра или возможность?
Date: Fri, 18 Apr 2003 16:57:45 +0400
Message-ID: <20030418125745.GA31184@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030414180930.65a3ce48.kuznecov@blok-caf.ru>
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
On Mon, Apr 14, 2003 at 06:09:30PM +0500, Ilya Kuznecov wrote:
> На своей работе приходится из-под ALM2.2 монтировать нетваревские диски. Использую ncpfs без ipxutils.
> gtknw2 работать не хочет.
>
> Итак, в /etc/fstab проставил:
> nw_blok/kuznecov /mnt/nw.kuznecov ncp ipserver=nw_blok,filemode=644,dirmode=755,uid=kuznecov,gid=kuznecov,bindery,multiple,noauto,codepage=cp866,iocharset=utf8,user=kuznecov 0 0
>
> сделал chmod u+s на mount,ncpmount и ncpumount.
> сказал из-под рута: `mount /mnt/nw.kuznecov` -- работает
> сказал из-под юзера kuznecov то же самое: -- не работает с ошибкой
> mount: only root can mount nw_blok/kuznecov on /mnt/nw.kuznecov
> сказал `strace mount /mnt/nw.kuznecov` из-под юзера -- работает!!!
>
> Это особенность?
strace под kernel-2.4.x, грубо говоря, игнорирует suid/sgid.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-04-18 12:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-14 13:09 Ilya Kuznecov
2003-04-14 13:41 ` Епифанов Сергей
2003-04-14 14:12 ` Ilya Kuznecov
2003-04-14 16:00 ` [Comm] Re[2]: " ASA
2003-04-15 3:04 ` Ilya Kuznecov
2003-04-15 3:06 ` Ilya Kuznecov
2003-04-18 12:57 ` Dmitry V. Levin [this message]
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=20030418125745.GA31184@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=community@altlinux.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