Coder Social home page Coder Social logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
I'm not really familiar with fedora packaging, but i'm guessing this will fix 
the issue:

diff --git a/extras/rpm/neatx.spec b/extras/rpm/neatx.spec
index 987e0a4..285dc9e 100644
--- a/extras/rpm/neatx.spec
+++ b/extras/rpm/neatx.spec
@@ -64,6 +64,7 @@ getent group nx >/dev/null || groupadd -r nx
 getent passwd nx >/dev/null || \
        useradd -r -g nx -m -d %nx_homedir -s %_libdir/%{name}/nxserver-login-wrapper \
       -c "System account for the %{name} package" nx
+chown nx: %nx_homedir
 exit 0

 %post


Can you test it and let me know? Thanks,

Steve

Original comment by kormat on 24 Jan 2010 at 3:47

  • Changed state: Accepted

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Thanks Steve.  That fix looks like it's in the right place, although you should 
also 
add the -R switch to chown just in case (useradd can create some default home 
structure below the user home dir, I believe).

Original comment by luke.hutch on 24 Jan 2010 at 5:23

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
I tested your patch and it works fine for me.  Yes, the -R switch is probably 
needed, useradd does indeed set up a default directory structure, and I guess 
it's 
possible for that to include the /home/.nxhome/.ssh directory.

Original comment by luke.hutch on 24 Jan 2010 at 5:46

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Alrighty, updated patch out for review. Cheers for testing this and providing 
feedback!

Steve

Original comment by kormat on 8 Feb 2010 at 5:22

  • Changed state: Started

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Thanks Steve!  Much appreciated.  What's the chance of getting this RPM 
submitted to 
the Fedora project?  After applying the patches to the three or so minor bugs I 
submitted here, the RPM works flawlessly.

Thanks,
Luke

Original comment by luke.hutch on 8 Feb 2010 at 5:39

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Patch committed. Re: submission to fedora, as i understand it, that would 
require a 
fedora package maintainer to adopt the package (see 
http://fedoraproject.org/wiki/PackageMaintainers/Join for example). 

Steve

Original comment by kormat on 8 Feb 2010 at 6:22

  • Changed state: Fixed

from neatx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.