tdaff / automation

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Permission #37

Closed tdaff closed 12 years ago

tdaff commented 12 years ago

Original report by Sean Collins (Bitbucket: scollins3, ).


Linux won't let me ln -s fapswitch/.

" ln: creating symbolic link /bin/fapswitch' to/home2/tdaff/Compile/fapswitch/function_switch.py': Permission denied "

tdaff commented 12 years ago

Original comment by Tom Daff (Bitbucket: tdaff, GitHub: tdaff).


#!sh

ln -s /home2/tdaff/Compile/fapswitch/function_switch.py ~/bin/fapswitch

#!sh

[root@wooki ~]# su testuser
[testuser@wooki root]$ cd
[testuser@wooki ~]$ mkdir bin
[testuser@wooki ~]$ ln -s /home2/tdaff/Compile/fapswitch/function_switch.py ~/bin/fapswitch
[testuser@wooki ~]$ ll bin
total 0
lrwxrwxrwx 1 testuser chicalab 49 Sep  1 09:03 fapswitch -> /home2/tdaff/Compile/fapswitch/function_switch.py
[testuser@wooki ~]$ ./bin/fapswitch
  File "./bin/fapswitch", line 722
    with open('%s_func_%s.cif' % (job_name, new_mof_name), 'w') as output_file:
            ^
SyntaxError: invalid syntax
[testuser@wooki ~]$