Mailinglist Archive: opensuse-packaging (127 mails)
| < Previous | Next > |
Re: [opensuse-packaging] How do I create a directory in $HOME on installation
- From: Dave Plater <davejplater@xxxxxxxxx>
- Date: Mon, 02 Nov 2009 13:51:33 +0200
- Message-id: <4AEEC7C5.9070204@xxxxxxxxx>
On 11/02/2009 01:22 PM, houghi wrote:
switch to mkdir. It works well and solves the problem.
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
On Mon, Nov 02, 2009 at 08:42:09AM +0100, Adrian Schröter wrote:I used the script Marcus provided, as a wrapper and included the -p
Am Montag, 2. November 2009 08:27:09 schrieb Dave Plater:Or if you add users after the installation
Hi, I need to create a directory in the users homes on rpm installation,This is horrible evil and can't work in all cases (for example if root has
can anybody point me in the right direction?
no
write access to the home directory of the user, like with remote homes on
NFS
and friends).
We have mechanisms to create directories on desktop start, but it is usuallyThat would be the best option. What you could do is also add the directory
better when your application handles this itself.
to /etc/skel. This might be gaining time if a lot needs to be placed the
first time in that directory. If you do that a new user will have the
required directory in his ~/.
However there must be a check in the program to see if the directory exists
and if not, it must be made with the apropriate files. So the /etc/skel is
additional to what you must do anyway and one can wonder if it is needed
at all.
houghi
switch to mkdir. It works well and solves the problem.
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |