Results 1 to 2 of 2

Thread: Need Samba Guru please

  1. #1

    Need Samba Guru please

    Hi, I'm having a problem with perms on Samba. I have a dir called /share/ndx with:
    drwxrwxr-x 67 root ndx 4096 Feb 3 2000 absnotes
    drwxrwxr-x 2 root ndx 4096 Jun 18 15:43 eMail
    drwxrwxr-x 4 root ndx 4096 Mar 28 2001 Multiuser
    Every time I edit a file it changes it to
    rwxr--r-- 1 michaelc michaelc 34816 Jun 18 15:43 NDX eMails

    How can I make it so the perms, ownerships, and groups never get changed even if someone edits the file? I wan thinking of running a cron that changed all that stuff every hour but there has go to be a better way. I know I have seen it done in smb.conf. Thanks.

  2. #2

    Re:Need Samba Guru please

    make sure the permissions of the above directory are correct then in your smb.conf insert the following line:
    create mask = 0765
    (or whatever permissions & sitcky bit required) if you get stuck look in the examples that usually reside in the smb.conf file

Similar Threads

  1. Discussion with all linux champions and guru on How fsck works???
    By vap16oct1984 in forum Linux - General Topics
    Replies: 5
    Last Post: 10-29-2009, 06:37 PM
  2. How Do I Run Samba?????????
    By sipherix in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 12-15-2004, 09:56 PM
  3. Samba
    By WarLockLord in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 06-30-2002, 05:50 PM
  4. help needed .any linux guru there ?
    By yahya in forum Linux - General Topics
    Replies: 3
    Last Post: 06-28-2002, 05:20 PM
  5. canadian/toronto freeBSD guru wanted
    By FoBoT in forum BSD
    Replies: 3
    Last Post: 03-06-2002, 03:01 AM


Posting Permissions

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