Results 1 to 2 of 2

Thread: Register a group alerting when substituted through scp.

  1. #1
    JohnAubrey is offline Junior Member
    Join Date
    Jan 2011
    Posts
    5
    Rep Power
    0

    Default Register a group alerting when substituted through scp.

    Hello,
    on my Fedora try computer, there is a webdav grouping for all developers and the files under /var/www are owned by athapascan:webdev. Each developer is set up per normal, with each deed his/her own substance in /etc/group, then I add them to the webdev group (all from the enjoin contrast). Things seemed OK, but when I edited a enter as me the different day and updated it via scp, the ownership and grouping exchanged to that of my person, preventing a position dev from updating it afterward. How can I neaten trustworthy that the record relic editable by all in the webdev unit disregarding of who updates it? Since it's a try computer, the permissions are fairly coarse at 775.
    Thanks,

  2. #2
    OliverAugust is offline Junior Member
    Join Date
    Jan 2011
    Posts
    7
    Rep Power
    0

    Default

    What you desire to do is a combining of things. Original, make sure all existing files/dirs individual the reverse control: Code: chgrp -R webdev /var/www Next, work trusty all the files are a group writable: Code: conceive /var/www -type f -exec chmod 664 \; Now, set the group id bit on all the directories under /var/www and neaten them radical writable at the unvarying time: Encipher: find /var/www -type d -exec chmod 2775 \; The final thing to do is either have everyone modify their umask in the ~/.bash_profile or ~/.bashrc line (recommended) or occurrence the international umask in /etc/profile (not the first melody). They both effect the equal target, but having people do this themselves makes them a young solon informed of what it does. In the someone's ~/.brawl(rc|_profile) file, set the umask to all activity by gather by choice by adding this line: code: umask 002

Similar Threads

  1. Feverse engineering group/ cracking group
    By TaylorRyan in forum other peripherals
    Replies: 1
    Last Post: 05-25-2010, 01:23 PM
  2. register on facebook
    By TaylorRyan in forum General Internet Terms
    Replies: 1
    Last Post: 02-02-2010, 04:42 PM
  3. How to Register Windows 7 Upgrade
    By Alan Knott in forum Windows 7/2000/NT
    Replies: 0
    Last Post: 11-09-2009, 08:21 AM
  4. Unable to Register Photoshop CS2
    By haqar.uakra in forum Web. 2.0
    Replies: 0
    Last Post: 07-01-2008, 10:25 AM
  5. WTM Register Maker 3.3
    By Mobifrendz.Org in forum Download Tools and Softwares
    Replies: 0
    Last Post: 01-29-2008, 07:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48