Find the answer to your Linux question:
Results 1 to 2 of 2
hi all i developed a small software. and i created an rpm for this. my problem is it is not installing in user level(non root users). in this software i ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247

    installation problem

    hi all
    i developed a small software.
    and i created an rpm for this.
    my problem is it is not installing in user level(non root users).
    in this software i used /lib and user/local/share .... etc.
    why it is not installing in user level and
    what i have to do to run this in user level.

    can you please help me

    thank you in advance

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    /lib and /usr/local/share are owned by root and are rwxr_xr_x, which means they can only be written to by root. If you want a regular user to install your software, then you need to make sure the rpm doesn't try to write anywhere only writeable by root. Just make it write to the users home directory instead.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...