Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
I am running sudo from a perl script to start rsync. I get the following error: full backup started for directory / Running: /usr/bin/sudo /usr/bin/rsync -server...........................--recursive --ignore-times . / Xfer PIDs are now 15129 Got remote protocol 1868854643 Fatal error (bad version): sudo: sorry, you must have a tty to run sudo I am modeling the invocation of rsync from an example I googled, that follows thus: $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals'; As I said the calling script is in perl, and I am interpolating. In this script there are options to use rsync, tar, rsyncd etc... Notice in the example there is a call to /usr/bin/env followed by LC_All=C, is this setting the environment to appear as a tty? Jim KR -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Discuss mailing list [hidden email] http://lists.blu.org/mailman/listinfo/discuss
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |