Creating a "dropbox" share where all users can save work, but only staff members can read it
Log on as root and go to a command line
Run the command: mkdir /usr/dropbox Create the dropbox folder
Run the command: chmod 1777 /usr/dropbox Gives everyone write access to the folder but, crucially, only allows
users to delete files they've created.
Run the command: chgrp staff /usr/dropbox In conjunction with the permissions set later, allows staff member read
and write access to the whole of the dropbox
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/dropbox
browseable = yes
create mode = 0660
directory mode = 0770
writable = yes
The configuration file will be automatically re-read, so the share will be virtually immediately available
Alter your logon script to map the share as a drive