Re: permissions

From: Cyril Guibourg (plonk-o-matic_at_teaser.fr)
Date: 07/24/04

  • Next message: Cyril Guibourg: "Re: permissions"
    To: freebsd-stable@freebsd.org
    Date: Sat, 24 Jul 2004 09:41:28 +0200
    
    

    "Amiel Ong" <amiel.ong@votek.com.ph> writes:

    > How can I make a directory permission so that
    > the user can write but cannot delete a file inside the directory?

    If your user shall *write* and *not* *create*, you can remove all his write
    permissions to that directory. This implies the file already exists.

    If he must be able to create a file this is more complicated, you will
    have to keep his write permissions at directory level, use the sticky
    bit and find a way to quickly change the file ownership once it is created.

    see chmod (2)
    _______________________________________________
    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: Cyril Guibourg: "Re: permissions"

    Relevant Pages

    • Re: Save the world from evil code crusade
      ... aurelianito wrote: sure that you have a clear vision yet so maybe before dealing with implementations it might be more helpful to first make clear what will be allowed, what not and how you want to separate areas of different capabilities. ... implies?(permission) returns true iff self implies permission. ... permissions" do not imply permission. ... require "securedruby" configure_permissionsfoo() ...
      (comp.lang.ruby)
    • Re: Directory/File Stuck in Webspace
      ... That implies you ... When you stop talking about permissions ... the problem seems directly related to this "cpanel" ... Presumingly some fancy GUI admin tool? ...
      (comp.os.linux.misc)
    • Re: LD_ASSUME_KERNEL support for feisty
      ... Yes, I have the permissions. ... can you execute ?>ldd executable_file and send it to us? ... Modify settings or unsubscribe at: ...
      (Ubuntu)
    • Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied
      ... sorry..i lost you on that...you think that someone changed the permissions ... It'll be executed by the user, not root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Also to be a right prat, chmod a-x `which chmod` (don't do it, but i've ...
      (Debian-User)
    • Re: LD_ASSUME_KERNEL support for feisty
      ... Yes, I have the permissions. ... can you execute ?>ldd executable_file and send it to us? ... Modify settings or unsubscribe at: ...
      (Ubuntu)