Check the permissions on all of the parent directories leading to the real configuration file (I think you said there was a symbolic like) as well as the permissions on the file pointed to by the symbolic link and the permission on all directories leading to the symbolic link itself. All of the directories need to be searchable (the 'x' bit) by owner group and world (755 should do), and the file itself needs to be owner group and world (644 should do).

Eric

On 5/14/15 5:06 PM, Anatoliy Kovalenko wrote:
You need to check all directories permissions:
ls -ld /usr
ls -ld /usr/local
ls -ld /usr/local/etc
similarly, you need to check all permissions to all subdirs where
slurm.conf is located. Just execute
ls -la /usr/local/etc | grep "slurm.conf" and follow the link.




2015-05-14 17:39 GMT+03:00 Jorge Góis <[email protected]
<mailto:[email protected]>>:

    Hi Jared,  gives me permission denied:  "cat:
    /usr/local/etc/slurm.conf: Permission denied"

    But I have set the chmod 777 to the file for test and don't works
    because I have symbolic link to this files.


    Problem resolve, bests,
       Jorge Góis
    **


    2015-05-14 15:26 GMT+01:00 Jared David Baker <[email protected]
    <mailto:[email protected]>>:

        What are the permission on the Slurm configuration file? Looks
        as if root is the only user who can read it. Simple test: ____

        __ __

               $ cat /usr/local/etc/slurm.conf____

        __ __

        -Jared____

        __ __

        *From:*Jorge Góis [mailto:[email protected]
        <mailto:[email protected]>]
        *Sent:* Thursday, May 14, 2015 4:21 AM
        *To:* slurm-dev
        *Subject:* [slurm-dev] Try to using slurm with other user
        account____

        __ __

        Hi guys, I'm start to add user to my cluster, first create a
        user in all nodes with de same uid, next add to de slurmdbd
        "*/sacctmgr add user jorge defaultaccount=root
        adminlevel=Admin/*".____

        But when access to the user I created earlier and try submit a
        job "sbatch script.sh" or try using someone of slurm tools (e.g:
        squeue, sinfo), the system return this error message:

        "*/error: s_p_parse_file: unable to status file
        /usr/local/etc/slurm.conf: Permission denied, retrying in 1sec
        up to 60sec/*"____

        Someone have idea what is the solution for this problem?____

        __ __

        Bests,
           Jorge Góis____

        __ __



Reply via email to