Support-KB-NetManager >> Shared-Dropbox

Jump To: Support > KB > NetManager > Shared > Dropbox

Creating a "dropbox" share where all users can save work, but only staff members can read it

  1. Log on as root and go to a command line
  2. Create the dropbox folder by running the command: mkdir -p /usr/shares/dropbox
  3. Give everyone write access to the folder but, crucially, only allows users to delete files they've created. Run the command: chmod 1777 /usr/shares/dropbox
  4. In conjunction with the permissions set later, allow staff members read and write access to the whole of the dropbox. Run the command: chgrp staff /usr/shares/dropbox
  5. Add the following to /etc/netmanager/smb.shares. Do this by running the command: joe /etc/netmanager/smb.shares and then adding the lines at the end. Save the file by type Ctrl-K followed by X.
    [dropbox]
          comment = User work drop box
          path = /usr/shares/dropbox
          browseable = yes
          create mode = 0660
          directory mode = 0770
          writable = yes
    
  6. The configuration file will be automatically re-read, so the share will be virtually immediately available
  7. Alter your logon script to map the share as a drive

Precedence Technologies Ltd, Technology House, 36a Union Lane, Cambridge, UK | Tel: 08456 446 800
Page last modified on January 19, 2011, at 10:33 AM by sborrill