Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] script works, shortcut doesn't
- Date: Thu, 12 Feb 2009 21:38:40 +0900 (JST)
- From: "nigel barker" <tech@example.com>
- Subject: [tlug] script works, shortcut doesn't
- User-agent: SquirrelMail/1.4.8-6.el3.centos.1
Dear All, I'm trying to get user homes from the central (debian) server mounted on these shared Dell minis. I have to pass username and directory to the server, so I adapted a little script that looks like this: #! /bin/sh echo -n "user name: " read user echo -n "year: " read year sshfs $user@example.com:/path/to/homes/$year/$user ~/myhome exit If I run this script in a terminal, it works correctly - the server prompts for password and the share is mounted. I created a shortcut to the script on the desktop. When I click the shortcut, Gnome asks what to do and I choose "run in terminal". The script runs and prompts for username, year and the server prompts for password. Then the terminal closes. However the share is NOT mounted. Any idea what is going wrong? thanks nigel
- Follow-Ups:
- Re: [tlug] script works, shortcut doesn't
- From: 葉潤 理男
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Disabling "Expire Messages" Function in KMail
- Next by Date: Re: [tlug] script works, shortcut doesn't
- Previous by thread: [tlug] Re: How to display ISO-2022-JP (=EUC-JP =JIS) text in vim ?
- Next by thread: Re: [tlug] script works, shortcut doesn't
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links