Hi Jack, I believe the correct command is `docker run --user root`
Marc On Wednesday, November 19, 2025 at 5:12:02 AM UTC+1 jack urombo wrote: > I am running deal II in Docker and it not granting permission to > manipulate files in directory it is dropping me into: > > ju.rom.bo@mathW15:~/documents> sudo docker run --rm -v $(pwd):/home/dealii > -ti d > ealii/dealii > [sudo] password for root: > To run a command as administrator (user "root"), use "sudo <command>". > See "man sudo_root" for details. > > dealii@1227f75625a0:~$ ls > ls: cannot open directory '.': Permission denied > dealii@1227f75625a0:~$ exit > exit > ju.rom.bo@mathW15:~/documents> sudo docker run --rm -v > $(pwd)/documents:/home/de > alii -ti dealii/dealii > To run a command as administrator (user "root"), use "sudo <command>". > See "man sudo_root" for details. > > dealii@c411c2d02420:~$ ls > ls: cannot open directory '.': Permission denied > dealii@c411c2d02420:~$ cd R > bash: cd: R: No such file or directory > dealii@c411c2d02420:~$ > > How do I make sure I have the right permission to work on files on my > local directory? > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dealii/98e6be1c-28ab-41bf-ba14-e90db4d3c6ben%40googlegroups.com.
