[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: extended attributes
From: |
Jan Hudec |
Subject: |
Re: [Gnu-arch-users] Re: extended attributes |
Date: |
Wed, 7 Jan 2004 14:32:42 +0100 |
User-agent: |
Mutt/1.5.4i |
On Wed, Jan 07, 2004 at 10:42:23 +1100, Brian May wrote:
> >>>>> "Jan" == Jan Hudec <address@hidden> writes:
>
> >> For atomic file updates, rename(2) does too much. It modifies
> >> or creates a directory entry to have default ownership,
> >> permissions and time values.
>
> Jan> Do I need to remind you, that *directory entry* does NOT have
> Jan> any ownership, permission and time values? A *directory
> Jan> entry* has exactly a name and a number of inode it point
> Jan> to. At least for POSIX compliant filesystems.
>
> What is needed is a system call (or user level call?) that creates a
> new file with all the properties (times, owners, permissions, extended
> attributes) based on an existing file. So you would say:
>
> create file a.tmp from a
> write to a.tmp
> rename a.tmp to a
>
> And most of the problems would be solved (I think!).
Unfortunately, such a system call does not exist...
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec
<address@hidden>
- Re: [Gnu-arch-users] extended attributes, (continued)
- Re: [Gnu-arch-users] extended attributes, Aaron Bentley, 2004/01/07
- Re: [Gnu-arch-users] extended attributes, Thomas Zander, 2004/01/06
- Re: [Gnu-arch-users] extended attributes, Jan Hudec, 2004/01/06
- [Gnu-arch-users] Re: extended attributes, Miles Bader, 2004/01/05
- [Gnu-arch-users] Re: extended attributes, Tom Lord, 2004/01/05
- [Gnu-arch-users] Re: extended attributes, Aaron Bentley, 2004/01/06
- [Gnu-arch-users] Re: extended attributes, Tom Lord, 2004/01/06
- [Gnu-arch-users] Re: extended attributes, Aaron Bentley, 2004/01/06
- Re: [Gnu-arch-users] Re: extended attributes, Jan Hudec, 2004/01/06
- Re: [Gnu-arch-users] Re: extended attributes, Brian May, 2004/01/06
- Re: [Gnu-arch-users] Re: extended attributes,
Jan Hudec <=
Re: [Gnu-arch-users] extended attributes, Charles Duffy, 2004/01/05