fhcrc / seqmagick

An imagemagick-like frontend to Biopython SeqIO
http://seqmagick.readthedocs.org
GNU General Public License v3.0
113 stars 22 forks source link

Error mogrifying files owned by another user #14

Closed cmccoy closed 13 years ago

cmccoy commented 13 years ago
rhino2 matsengrp/overcalled » sm --deduplicate-taxa vaginal-0.2.picks.fasta                                                                                                                                                               2 ↵
Traceback (most recent call last):
  File "/mnt/orca/home/phs_grp/matsengrp//local/bin/seqmagick", line 7, in <module>
    sys.exit(cli.main(sys.argv[1:]))
  File "/mnt/orca/home/phs_grp/matsengrp/python-local/lib/python2.7/site-packages/seqmagick/scripts/cli.py", line 29, in main
    return action(arguments)
  File "/mnt/orca/home/phs_grp/matsengrp/python-local/lib/python2.7/site-packages/seqmagick/subcommands/mogrify.py", line 38, in action
    shutil.move(temp_name, input_file)
  File "/home/matsengrp/local/encap/python-2.7.1/lib/python2.7/shutil.py", line 292, in move
    copy2(src, real_dst)
  File "/home/matsengrp/local/encap/python-2.7.1/lib/python2.7/shutil.py", line 128, in copy2
    copystat(src, dst)
  File "/home/matsengrp/local/encap/python-2.7.1/lib/python2.7/shutil.py", line 99, in copystat
    os.chmod(dst, mode)
OSError: [Errno 1] Operation not permitted: 'vaginal-0.2.picks.fasta'
cmccoy commented 13 years ago

Closed by 9056cb9a5cc8cca3e4fd7681766e54dbbcf4a66f.