mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wakko Warner <wakko@animx.eu.org>
To: linux-kernel@vger.kernel.org
Subject: Odd symlink behaviour?
Date: Tue, 25 May 2004 20:17:00 -0400	[thread overview]
Message-ID: <20040525201700.A28595@animx.eu.org> (raw)

Vanilla kernel 2.6.6.  / is ext3, /dev is on /

I noticed when I created a symlink, the perms were not 777 like I would have
expected.  See below.

[root@vegeta:/dev] v cdrom
ls: cdrom: No such file or directory
[root@vegeta:/dev] ln -s scd0 cdrom
[root@vegeta:/dev] v cdrom
lrwxr-xr-x    1 root     root            4 May 25 20:13 cdrom -> scd0
[root@vegeta:/dev] umask 0
[root@vegeta:/dev] ln -sf scd0 cdrom
[root@vegeta:/dev] v cdrom
lrwxrwxrwx    1 root     root            4 May 25 20:13 cdrom -> scd0
[root@vegeta:/dev] umask 022
[root@vegeta:/dev] uname -r
2.6.6
[root@vegeta:/dev] ln --version
ln (coreutils) 5.0.91

I have another filesystem which is reiserfs; It doesn't exibit this problem.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

                 reply	other threads:[~2004-05-26  0:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040525201700.A28595@animx.eu.org \
    --to=wakko@animx.eu.org \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®