RE: Permissions on folder

From: Jeff Vian (jvian10_at_charter.net)
Date: 10/14/05

  • Next message: Mogens Kjaer: "Re: HP Tape not detect after kernel update"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Fri, 14 Oct 2005 08:48:41 -0500
    
    

    On Thu, 2005-10-13 at 18:05 +0200, nicolas Gourlé wrote:
    > It's not what I want whis this command all files which are already present can be read-write. What I want is :
    > User1 create a file name tt.log
    > User2 can read-write this file
    >
    > But i don't want to move the umask af user1
    > I want all files create in this folder are automaticly with chmod 777
    >
    1. You probably do not want the files to be 777, It would be much
    better that they be 664. World executable and writeable files are a big
    security risk.

    2. As far as I know, there is no way to have every user _create_ files
    that are read/write for everyone else unless the umask allows that.

    You can set everyones umask to be 002, and make everyone a member of the
    chosen group (users may be a good group choice). Then every file they
    create would be readable and writeable by other members of the same
    group as well as readable by all users but not writeable by those not
    members of the group.

    If you insist on having the permissions set in a specific folder for
    everything to be 777 (or 666) or whatever, you could simply put in an
    entry in /etc/crontab like this:
         * * * * * chmod -R 777 path/to/folder/
    That command would be executed once every minute and would change
    anything not already having the 777 permissions to be 777 for that
    folder and everything in it.

    This seems a big security problem to me.

    > Excuse me foor my english
    >
    >
    > -----Message d'origine-----
    > De : fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com] De la part de gezimetc@telus.net
    > Envoyé : jeudi 13 octobre 2005 17:57
    > À : For users of Fedora Core releases
    > Objet : Re: Permissions on folder
    >
    > Quoting nicolas Gourlé <nicolas.gourle@nalta.net>:
    >
    > > Hi,
    > >
    > > I search to create a folder where everybody can read-write all files
    > > (his and
    > > others) Is there any permissions to put on the folder?
    > > Thank you for your help!
    > Hi
    > try this, if folder name is "stuff"
    > chmod -R 777 stuff/

    > > GroOpY
    > >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mogens Kjaer: "Re: HP Tape not detect after kernel update"

    Relevant Pages

    • Re: networking with different groups
      ... >> desired access permissions for each shared disk and folder. ... >the permissions there is no way I can see USER1. ... It's your choice whether to create 6 individual user accounts or 2 ...
      (microsoft.public.windowsxp.network_web)
    • Re: FTP setup/security scenario looking for help....
      ... I believe if you permissions for each user on each individual folder and not ... root ftp folder ... user1 = user 1 permissions ...
      (microsoft.public.win2000.security)
    • Re: Folder permissions - deny users, allow administrator
      ... So are Users members to have the same permissions on ... future contents of the folder will allow for read-only access to all ... of the Users group, and allow full control to the Administrators group. ...
      (microsoft.public.security)
    • Re: Directory Permissions - What gives?
      ... Oh I forgot to mention Group C which is a copy of Group A minus the members ... If you had the parent folder shared at Everyone=FULL or even ... permissions again no matter what type of access you need to grant in the ... create a group C give ntfs share permisions to that group, ...
      (microsoft.public.windows.server.general)
    • Re: Groups Permissions; creating a new group & adding full access does not appear to work
      ... > I add this new group to the permissions of a folder with full access. ... the members of "FooUsers" still do not have full access!?!?!? ...
      (microsoft.public.win2000.active_directory)