| To: | Nathan Scott <nathans@xxxxxxx> |
|---|---|
| Subject: | Re: "xfs_io -c chattr +i " on a symlink |
| From: | Chris Wedgwood <cw@xxxxxxxx> |
| Date: | Thu, 3 Aug 2006 21:20:03 -0700 |
| Cc: | Dan Am <xfs@xxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <20060804102814.A2401829@wobbly.melbourne.sgi.com> |
| References: | <28749.62.159.242.114.1154600816.squirrel@otto.lonx.net> <20060804102814.A2401829@wobbly.melbourne.sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
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?) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: "xfs_io -c chattr +i " on a symlink, Eric Sandeen |
|---|---|
| Next by Date: | Re: review: Simple patch to remove the dmapi support from xfsdump, Vlad Apostolov |
| Previous by Thread: | Re: "xfs_io -c chattr +i " on a symlink, Nathan Scott |
| Next by Thread: | "xfs_io -c chattr +i " on a symlink, Daniel Amthor |
| Indexes: | [Date] [Thread] [Top] [All Lists] |