Skip to content

sudo run fimoall.sh get permission denied #4

Description

@TangentDeng

Hi, thanks for the great job! I get an error hoping for your help.
In terminal
sudo sh ./fimoall.sh

Or rstudio

### run the following codes in the R under linux environment
refdir='./Downloads/package/IReNA/mm39.fa.gz'
fimodir <- './meme' (I am not sure this is right?)
outputdir1 <- './irena/'
motifdir <- './Downloads/motif/'
find_motifs_targetgenes(gene_tss,motif1,refdir,fimodir,outputdir1,motifdir)
### run fimo_all script in shell
shell_code <- paste0('echo "password" | sudo -S sh ',outputdir1,'fimo/fimoall.sh')
system(shell_code,wait=TRUE) 

./irena/fimo/ENSMUSG00000024782/Fimo1.sh: 1: ./meme: Permission denied
..........
./irena/fimo/ENSMUSG00000024782/Fimo1.sh: 500: ./meme: Permission denied

I get a lot of .txt files with 0B size.
fimodir <- './meme' (I am not sure this is right?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions