[torqueusers] Specific Users Access

Dimitrakakis Georgios giwrgis at chemistry.uoc.gr
Fri Mar 7 08:56:34 MST 2014


Hi!

Thx for the feedback! Apparently the problem has nothing to do with Torque.

For some reason on the first node the

/usr/soft/application

belongs to root:group

but on the rest it becomes root:nobody

For some reason other nodes cannot get the proper permissions...

G.


> Georgios,
>
>  
> Maybe you need a newgrp "applicationgroupname" in your generated
> application job script as one of your first commands
>
>  
> you simply can recheck by a simple submit script
>
>  
> to give an idea
>
>  
> #!/bin/sh
>
>  
> module load "yourappmodule"
>
> env
>
> newgrp "myapplicationgroup"
>
>  
> ls /usr/soft/myapplication/bin/myexecuteable
>
> which myexecuteable
>
>  
> those commands should show you:
>
>  
> env -> is your path after loading your module really what you think it
> should be ?
>
> is it simply a problem, because you use a secondary group for access and
>
> what tells env which user you actually are
>
> -can you access the app folder after a newsgroup and is your path ok
>
>  
> By your mail address i would assume that one of your apps is gaussian
>
> If you google for torque and gaussian / g03 you will detect g03 just runs
> fine with torque
>
> and setting access rights to "group" for g03 works with torque
>
>  
> best wishes
>
> Micha
>
>  
>
>  
> -----Ursprüngliche Nachricht-----
> Von:Dimitrakakis Georgios <giwrgis at chemistry.uoc.gr>
> Gesendet:Fr 07.03.2014 15:23
> Betreff:[torqueusers] Specific Users Access
> An:Torque Users Mailing List <torqueusers at supercluster.org>;
> Hi all!
>
> In our cluster software is installed in /usr/soft/XXX
>
> where "XXX" is the folder's name with the corresponding software. People
> are using the "module load XXX" command in their scripts to load
> environment variables for each software that they would like to use.
>
> If I want to give access to a specific user/group for selected software
> and restrict all others what do I have to do in order for that to work
> with Torque?  I 've found out that by changing the ownership of the
> folder
> to the specific group and granting rx permissions only to that group
> while
> restricting everything else is not working. My guess is that Torque is
> not
> running the script commands as the user but rather as somebody else. Is
> that the case? Any suggestions?
>
>
> Best,
>
>
> G.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
> --
> Vorstandsvorsitzender/Chairman of the board of management:
> Gerd-Lothar Leonhart
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Michael Heinrichs,
> Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/
> Chairman of the Supervisory Board:
> Philippe Miltin
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart
> Registernummer/Commercial Register No.: HRB 382196
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the torqueusers mailing list