From: Chris Wedgwood <cw@f00f.org>
To: Nathan Scott <nathans@sgi.com>
Cc: Dan Am <xfs@lonx.net>, xfs@oss.sgi.com
Subject: Re: "xfs_io -c chattr +i " on a symlink
Date: Thu, 3 Aug 2006 21:20:03 -0700 [thread overview]
Message-ID: <20060804042003.GA9271@tuatara.stupidest.org> (raw)
In-Reply-To: <20060804102814.A2401829@wobbly.melbourne.sgi.com>
On Fri, Aug 04, 2006 at 10:28:14AM +1000, Nathan Scott wrote:
> Its not possible to open(2) a symbolic link (see
> fs/namei.c::may_open), which means you cannot get a file descriptor
> for a symlink, which means you cannot issue an ioctl(2) to a symlink
> (which is how the inode flags are set), which means you're out of
> luck on this one, sorry.
I always disliked open/ioctl for this. I think we should actually
have a separate syscall for chattr, etc. (FreeBSD does this I think?)
next prev parent reply other threads:[~2006-08-04 4:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 10:26 "xfs_io -c chattr +i " on a symlink Dan Am
2006-08-03 14:13 ` Eric Sandeen
2006-08-04 0:29 ` Nathan Scott
2006-08-04 2:38 ` Eric Sandeen
2006-08-04 11:37 ` Dan Am
2006-08-07 4:54 ` Nathan Scott
2006-08-04 0:28 ` Nathan Scott
2006-08-04 4:20 ` Chris Wedgwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-08-04 8:15 Dan Am
2006-08-04 9:13 ` Timothy Shimmin
2006-08-03 10:18 Daniel Amthor
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=20060804042003.GA9271@tuatara.stupidest.org \
--to=cw@f00f.org \
--cc=nathans@sgi.com \
--cc=xfs@lonx.net \
--cc=xfs@oss.sgi.com \
/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