Re: Negative permissions WITHOUT ACLs



In article <1160572724.150078.47390@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Starfish <frel8817@xxxxxxxxxxxxx> wrote:
Hello, if someone can answer this question you make a lot of Uppsala
University students happy.

Here goes: How do you specify negative permission¹ in Unix/Linux
without using ACLs?

¹E.g. saying that the user "Ellen" should not have write access to a
file regardless of the permissions given to her groups.

You find something that fills the same role as an ACL but which
someone has called something different.

In some cases, you -might- be able to work something out with
exclusive mandatory locking and file access monitoring capabilities,
to have a program which checked to see who was trying to do the
access and refused to give up control if it was the "wrong" person.
But this would be difficult to do at all without using a device
driver.

You could use a loadable driver to put the file into your own
filesystem that did whatever permission enforcement you wanted.

You could put the file into an NFS filesystem that specified a
userid map that mapped Ellen's access to "nobody". You -might- be
able to do that with a loop-back filesystem, mounting the
file into a point on the tree that could be reached by everyone,
when the real file resided inside a fully-protected directory.
.



Relevant Pages

  • Re: Restricting access to sockets
    ... >filesystem and operating system support them? ... Permissions and ACLs apply to things in the filesystem. ...
    (comp.security.unix)
  • Re: Virtual Directory - Permission Denied with fso CopyFile
    ... The fso.CopyFile is server side. ... > CopyFile does not have permissions on the named remote resource. ... What are the ACLs of the Filesystem namespace mapped to the UNC share ...
    (microsoft.public.inetserver.iis)
  • Re: Security and Sharing
    ... When they are logged in locally only the filesystem permissions are needed. ... When they access over the network they can do anything that the filesystem ... If you want then to be able to read files and browse the folder structure ...
    (microsoft.public.security)
  • Re: Security and Sharing
    ... When they are logged in locally only the filesystem permissions are needed. ... When they access over the network they can do anything that the filesystem ... If you want then to be able to read files and browse the folder structure ...
    (microsoft.public.security)
  • Re: Security and Sharing
    ... When they are logged in locally only the filesystem permissions are ... allows to them provided that the share level permissions are not less. ... "read and file scan rights". ... If you want then to be able to read files and browse the folder structure ...
    (microsoft.public.security)