Hi,
I'm trying to use an Amazon Web Server linux instance to do some bioinformatics work. I believe I have setup an attached storage area that I'd like to work directly off of, but for some reason it requires I use "sudo" to write anything to the mounted drive. Is there any way to overcome this?
Also, I am trying to run Maq commands, but I get the following error if I type "sudo maq" vs. "maq" at the command line:
sudo: maq: command not found
vs.
Program: maq (Mapping and Assembly with Qualities) Version: 0.7.1 Contact: Heng Li lh3@sanger.ac.uk
Usage: maq <command/> [options]
Key commands: fasta2bfa convert FASTA to BFA format fastq2bfq convert FASTQ to BFQ format
etc.
The later indicates to me that maq is properly installed...so why can't I just prepend the commands with sudo to get my script to work?
Thanks for any help you all can provide.
Can you describe how the storage area is attached? Is there an entry in /etc/fstab? If mounted as root, then you can only write as root by default, unless you make some configuration changes.
That would imply the problem is present when run as normal user, absent when run as root. Peter describes the reverse situation, which suggests to me maq is on the normal user's path but not the root path.
Well there appear to be two issues: can't write to location unless root, maq not in path for root. I assumed the only reason for running maq as sudo was the need to write as root.
This question is more related to mounting a file system and to file permissions on unix than to the maq software. I would change the title.