On 27/05/12 01:30 PM, Ralf Mardorf wrote:
On Sun, 2012-05-27 at 19:27 +0200, Ralf Mardorf wrote:
On Sun, 2012-05-27 at 12:49 -0400, Frank McCormick wrote:
On 27/05/12 10:04 AM, Ralf Mardorf wrote:
If you added
cp -R ~/.thunderbird ~/.thunderbird.backup
to a script, than the backup must be in ~/.
Perhaps the script runs "cd /var/lib/gdm3" and you added "cp -R
~/.thunderbird .thunderbird.backup", the backup without the path?
You should post what exactly you edited.
- Ralf
You're partly right :)
frank@sid:/etc/gdm3/PostSession$
cat Default
#!/bin/sh
cp -R /home/frank/.thunderbird thunderbird.backup
exit 0
frank@sid:/etc/gdm3/PostSession$
I failed to add "/home/frank" or ~ to the destination, perhaps
thinking wrongly cp would copy to the original directory.
My mistake...now fixed...
cp -R /home/frank/.thunderbird /home/frank/.thunderbird.backup
Always would do this for /frank, even if another user would close a
session?
PS: Perhaps it's impossible for another user to write to /frank?
Just for fun I created a new user (my wife)..and ran a session under
"her" account...she could not write to my directory so nothing happened.
This whole thread has convinced me I need to learn more about bash and
scripting :)
--
Cheers
Frank
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc27791.7050...@videotron.ca