Score:0

How to Mount ReadOnly storage in Ubuntu

ca flag

I have ubuntu server & have one cpanel hosted website, I do want to mount my cpanel hosted storage to be mounted at my ubuntu drive, I do want it to be readonly.

or basically can we access files from IP directly?

Data available at 103.xx.xx.xx/Storage/ this location & accessible from my browser, But I do want to access it as external read only storage from my ubuntu server

Terrance avatar
id flag
All you need to do is add `ro` to the mount options for Read Only.
Kaustubh Kulkarni avatar
ca flag
Can you elaborate? I dont understand what you mean
Terrance avatar
id flag
If you look at answers like this https://askubuntu.com/questions/1208568/how-to-setup-ubuntu-that-fstab-runs-after-network-is-connected that show you how you can add network storage as a mount to your system, after the credentials= is the options. I would say after something like the `noauto,` I would add `ro,` for the read only option.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.