Find the answer to your Linux question:
Results 1 to 2 of 2
I have an RPM that I created. All the files are owner by user tfel0, and group tfel0... gumby /usr/src/redhat/RPMS/x86_64:# rpm -qlpv jboss-server-tfel0-4.2.3.GA-1.tf.x86_64.rpm | head -5 -rw-r--r-- 1 tfel0 tfel0 ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    4

    Incorrect Ownership on RPM installed files...

    I have an RPM that I created. All the files are owner by user tfel0, and group tfel0...

    gumby /usr/src/redhat/RPMS/x86_64:# rpm -qlpv jboss-server-tfel0-4.2.3.GA-1.tf.x86_64.rpm | head -5
    -rw-r--r-- 1 tfel0 tfel0 11360 Jul 18 2008 /opt/jboss/jboss-4.2.3.GA/server/tfel0/conf/jboss-log4j.xml
    -rw-r--r-- 1 tfel0 tfel0 7606 Jul 18 2008 /opt/jboss/jboss-4.2.3.GA/server/tfel0/conf/jboss-minimal.xml
    -rw-r--r-- 1 tfel0 tfel0 37301 Jul 18 2008 /opt/jboss/jboss-4.2.3.GA/server/tfel0/conf/jboss-service.xml
    -rw-r--r-- 1 tfel0 tfel0 8673 Jul 18 2008 /opt/jboss/jboss-4.2.3.GA/server/tfel0/conf/jbossjta-properties.xml
    -rw-r--r-- 1 tfel0 tfel0 194 Jul 18 2008 /opt/jboss/jboss-4.2.3.GA/server/tfel0/conf/jndi.properties[/FONT]

    The tfel0 user and group exist on the system…

    gumby /usr/src/redhat/RPMS/x86_64:# cat /etc/passwd | grep tfel0
    tfel0: x:10005:10005:JBoss tfel0:/home/tfel0:/bin/bash

    gumby /usr/src/redhat/RPMS/x86_64:# cat /etc/group | grep tfel0
    tfel0: x:10005:

    However, when the RPM is installed, all the files are owned by root.root.

    How come???

    Doug

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    I think that's normal. You install as root. the software,
    once installed,becomes part of the system, and should
    be available to run as a normal user.

Posting Permissions

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