Matt

Matt

1p

1 comments posted · 0 followers · following 0

15 years ago @ Apis Networks Communit... - Designing the next gen... · 0 replies · +1 points

Global repository:
PEAR is only possible by Apache running outside the filesystem jail. CGI applications would require a shared mount for each account that enrolls in such a service. I could strip the documentation and source from gem installations initiated through the control panel -- that's a good suggestion that I can implement before the Fifth Generation is rolled out.

Dropping @domain:
I sense this will become the most requested change by May... :) Implementing a facility that allows logins without @domain for the primary user that also jails entails ditching Ensim's proprietary NSS and PAM modules. Possible, planned down the road, but basically too intensive to add to the work queue right now.

You can substitute '@' with '#'. Some clients, FTP come to mind, have difficulty parsing the URI if '@' is present more than once. A sufficiently newer OpenSSH may fix the warning with scp, but I would recommend rsync instead. More flexible in its options, accepts '#' in the login, plus faster in my experience. rsync -a foo#foobar.com@foobar.com:/home/abc or you could setup a function...

function remsync { ARGS=($@) ; LEN=${#ARGS[@]} ; FILES=${ARGS[@]:0:$(($LEN-1))} ; DIR=${ARGS[@]:$(($LEN-1))} ; rsync -a $FILES foo#foobar.com@foobar.com:"$DIR" ; }

(Well that sucks... no code or pre tag support with the comment system. At least it's only an ugly one-liner.)

Need to copy something over? remsync /my/files/a /home
rsync will recursively copy directory contents with the -a flag. You could add flag support with getopts to arbitrarily supply arguments such as -a...