All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: lrc1@st-andrews.ac.uk
Cc: reiserfs-list@namesys.com
Subject: Re: Carrying Attributes too Far
Date: Wed, 24 Sep 2003 13:35:23 +0400	[thread overview]
Message-ID: <3F71655B.4060704@namesys.com> (raw)
In-Reply-To: <1064280061.3f6f9ffd2c514@webmail.st-andrews.ac.uk>

lrc1@st-andrews.ac.uk wrote:

>Quoting "Alexander G. M. Smith" <agmsmith@rogers.com>:
>
><snip />
>
>  
>
>>lrc1@st-andrews.ac.uk wrote on Mon, 22 Sep 2003 14:28:30 +0100:
>>    
>>
>>>* Will
>>>
>>>	chmod u-rwx somefile; chmod u+rwx somefile
>>>
>>>still work? What special-case behaviour will be needed to make it work?
>>>      
>>>
>>Likely via the Janus (two faced) view of the file system as ordinary files
>>and directories for old software.  Ideally new versions of ls, chmod (or a
>>completely new permission system), etc, would be needed for native use.
>>
>>    
>>
>
>The question wasn't "Will there still be a chmod?". Of course there can still 
>be a chmod call in the legacy interface, or a chmodlike "convenience method" 
>call in the new one. The question is whether the subfile metadata system will 
>be compatible with permissions systems in which a user is able to revoke his 
>own permissions to a file and then return them again - such as the current Unix 
>permissions system - and what bodges you would accept to make it compatible. Be 
>more specific - in all these questions, the devil shows itself in the detail.
>
We will continue to support the VFS interface.

>
>  
>
>>>* Will it be possible to make a attribute file the child of
>>>/pub/some_ordinary_directory via a hard link? Will it be possible to make
>>>      
>>>
>>an
>>    
>>
>>>attribute file into an attribute file for some other file? That has
>>>      
>>>
>>completely
>>    
>>
>>>different permissions? And is owned by a different user? What will have to
>>>happen, in either case, at the time the file is hard-linked to its new
>>>      
>>>
>>parent?
>>
>>Attributes are files (actually what I call fildirute Things - file directory
>>and attribute all at once) like any other Thing.  So presumably the same hard
>>linking and permission rights apply to them as you already have for
>>conventional files 
>>    
>>
>
>I agree that attribute files should be files like any other. So attribute files 
>should certainly have the same linking and permissions rights as any other 
>file.
>
Why?  Not at all, I would say. 

> How would you implement that?
>
>  
>
>>(the permission is part of the fildirute Thing, perhaps
>>via a plug-in).
>>    
>>
>
><snip />
>
>If attribute files have a different permissions system to all other files, how 
>are they files like any other?
>
>If a file is both an attribute file and a child 
>of /pub/some_ordinary_directory , should it have the permissions system of an 
>ordinary file or an attribute file? What are the consequences of either choice?
>
>If an attribute file's permissions metadata is part of it, is the attribute 
>file really a simple sequence of bytes like any other file? If it is, then what 
>will prevent any user with write permissions to the attribute file from 
>changing the part of the file that records its permissions metadata to whatever 
>she wishes?
>
>As to my third question, how would a user go about changing the owner of a 
>file? How might she be prevented from doing so?
>
>  
>
>>- Alex
>>    
>>
>
>Leo.
>
>-----------------------------------------------------------------
>University of St Andrews Webmail: http://webmail.st-andrews.ac.uk
>
>
>  
>


-- 
Hans



  parent reply	other threads:[~2003-09-24  9:35 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 15:14 Fwd: Re: Reiser4: "pseudo file namespace" suggestion Narcoleptic Electron
2003-09-11 15:18 ` Hans Reiser
2003-09-13 23:59   ` Carrying Attributes too Far (was Reiser4: "pseudo file namespace" suggestion) Alexander G. M. Smith
2003-09-14  1:56     ` Mike Fedyk
2003-09-14  3:46       ` Alexander G. M. Smith
2003-09-14  3:53       ` Carrying Attributes too Far Hubert Chan
2003-09-14  4:21       ` Hubert Chan
2003-09-14  3:39     ` Hubert Chan
2003-09-14  4:21     ` Hubert Chan
2003-09-16 19:15       ` Alexander G. M. Smith
2003-09-18 17:14         ` Narcoleptic Electron
2003-09-18 18:08           ` Hans Reiser
2003-09-18 20:16           ` Alexander G. M. Smith
2003-09-18 20:31             ` Grant Miner
2003-09-18 21:44               ` Alexander G. M. Smith
2003-09-18 22:00                 ` Grant Miner
2003-09-18 22:28                   ` Narcoleptic Electron
2003-09-18 22:42                     ` Hans Reiser
2003-09-18 23:06                     ` Grant Miner
2003-09-18 23:17                       ` Narcoleptic Electron
2003-09-18 23:23                         ` Narcoleptic Electron
2003-09-18 23:28                           ` Grant Miner
2003-09-19  0:29                             ` Alexander G. M. Smith
2003-09-19  0:28                         ` Alexander G. M. Smith
2003-09-19  0:46                           ` Hans Reiser
2003-09-19  1:45                             ` Narcoleptic Electron
2003-09-19  2:52                               ` Alexander G. M. Smith
2003-09-19  4:40                                 ` Narcoleptic Electron
2003-09-19  8:42                                   ` Martin Wilck
2003-09-19 13:27                                     ` Alexander G. M. Smith
2003-09-19 15:13                                       ` Martin Wilck
2003-09-19 15:35                                         ` Alexander G. M. Smith
2003-09-19 15:48                                       ` Narcoleptic Electron
2003-09-19 13:20                                   ` Alexander G. M. Smith
2003-09-19 13:46                 ` Bennett Todd
2003-09-19 19:31                   ` Alexander G. M. Smith
2003-09-19 22:51                     ` Narcoleptic Electron
2003-09-20  1:31                       ` Hans Reiser
2003-09-22 15:53                         ` Attribute Directory Name (Was: Carrying Attributes too Far) Narcoleptic Electron
2003-09-22 20:02                           ` Narcoleptic Electron
2003-09-22 22:52                           ` Alexander G. M. Smith
2003-09-22 13:28                       ` Carrying Attributes too Far lrc1
2003-09-22 22:50                         ` Alexander G. M. Smith
2003-09-23  1:21                           ` lrc1
2003-09-23 22:48                             ` Alexander G. M. Smith
2003-09-24 16:57                               ` lrc1
2003-09-24  9:35                             ` Hans Reiser [this message]
2003-09-24 17:52                               ` lrc1
2003-09-24 19:37                                 ` Hubert Chan
2003-09-25  3:40                                 ` Hans Reiser
  -- strict thread matches above, loose matches on Subject: below --
2003-10-04  5:58 lrc1
2003-10-04 18:17 ` Alexander G. M. Smith
2003-10-04 20:10 ` Hubert Chan
2003-12-03 19:18 ` Hans Reiser
2003-12-05  0:30   ` lrc1
2003-12-05  5:27     ` Hubert Chan
2003-12-05 12:38     ` Hans Reiser
2003-12-06 23:33       ` lrc1
2003-12-07  2:48         ` Hubert Chan
2003-12-07 17:08         ` Hans Reiser

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=3F71655B.4060704@namesys.com \
    --to=reiser@namesys.com \
    --cc=lrc1@st-andrews.ac.uk \
    --cc=reiserfs-list@namesys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.