Setting up Sftp for Derivative Upload
Installing Scponly
Check to see if scponly is available from the package manager on your server.
- If you are running Red Hat Enterprise Linux 4
up2date -l scponly - If you are running Red Hat Enterprise Linux 5 or Fedora 10
yum search scponly
Install it if it is available. If scponly is not available, then:
- Download the latest source release from SourceForge.
- Untar the source
tar xvzf scponly-4.8.tgz - Move into the extracted directory
cd scponly-4.8 - Compile and install the binaries (as root)
./configure; make; make install
Creating the Upload Account
As _root_ user
- Create the upload user account
useradd -M -s /usr/local/bin/scponly -d /home/digitize digitize- If installed from a package manager
useradd -M -s /usr/bin/scponly -d /home/digitize digitize
- If installed from a package manager
- Setup the account's password
passwd digitize - Add dmlserv to the digitize group
usermod -G digitize dmlserv - Create a symlink to the content loader directory
ln -s /home/dmlserv/content/loader/ /home/digitize - For RHEL5/Fedora 10, change symlink's context
chcon system_u:object_r:user_home_dir_t:s0 /home/digitize - Set permissions on the incoming directory
chgrp digitize /home/dmlserv/content/loader/audio/incoming