Re: permissions

From: Malcolm Kay (malcolm.kay_at_internode.on.net)
Date: 07/30/04

  • Next message: Brian Buchanan: "Re: nullfs in 4.10"
    To: "Amiel Ong" <amiel.ong@votek.com.ph>, <freebsd-stable@freebsd.org>
    Date: Fri, 30 Jul 2004 15:03:55 +0930
    
    

    On Saturday 24 July 2004 17:00, Amiel Ong wrote:
    > How can I make a directory permission so that
    > the user can write but cannot delete a file inside the directory?
    >
    I suspect you mean "create" rather than "write".

    Some of the responses to your query seem to be unnecessarily complicated.
    I think you are looking for the same permissions as normally apply to
    the /tmp directory which can be achieved with:
      $ chmod ugo+xrwt my-special-directory

    If you want any user to be able to "write" to an "existing" file in the
    directory then in general I believe the permissions on that particular
    file must permit write for that user:
      $ chmod o+rw particular-file

    Ability to write an existing file does relate the ability to delete it.
    The latter depends on the permissions of the directory containing the
    file, as indeed does the ability to create a file.

    Malcolm

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Brian Buchanan: "Re: nullfs in 4.10"

    Relevant Pages

    • Re: Hiding Telephone number from AD search
      ... Not only do normal users have the ability to see their telephone number, they have the ability to change it. ... It is a member of the personal information property set and that permission is granted explicitely on every user object created so inherited ACEs (permissions placed on the OU or domain structures) will not correct this. ... You could also look at the new confidentiality support in Windows Server 2003 SP1 AD. ...
      (microsoft.public.windows.server.active_directory)
    • Managed By option doesnt let uses manage distribution list
      ... Is there a better way to allow users just the ability to manage the ... Click the Security tab, ... In the Permissions box, click Allow Read Members, and then click ...
      (microsoft.public.exchange2000.admin)
    • Re: gzip TOCTOU file-permissions vulnerability
      ... I might suggest configuring your e-mail client not to ... attribute e-mail addresses in replies (at least to mailing lists)... ... > intended permissions, there would be no way to then write the file. ... user ability to write to their own files, ...
      (Bugtraq)
    • Re: policy
      ... You need to provide permissions to users from the domain\user_name account. ... No power user or local admin group. ... ability not only can't they install programs they can't get infected with ... virus or spyware since they don't have the ability to install software ...
      (microsoft.public.windows.server.active_directory)
    • Re: change (CHMOD) in front page?
      ... Do not change any permissions for files in _vti* folders. ... FrontPage does not have the ability to use CHMOD ...
      (microsoft.public.frontpage.extensions.windowsnt)