# Save File Folder path share drive linux

**URL:** <https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565>\
**Category:** Ignition\
**Created:** [January 25, 2021, 4:03am UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565 "2021-01-25T04:03:34Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 25, 2021, 4:03am UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/1 "2021-01-25T04:03:34Z")

</div>

I switched from a Windows server to a Linux server.

I used to be able to save to the share drive with a path like this…With save actions using the reporting module.

\is-everyone\DP\MES System\Data Dumps\Production Planning

I tried with forward slashes and different combos of double slashes. But, I seen it’s creating the directories inside of /usr/local/bin/ignition/

What am I missing. I can see the drive @ is-shareshop

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/2/f2818254a918dc5013debcb6b0d35baa8059d675.png)

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 25, 2021, 12:41pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/2 "2021-01-25T12:41:47Z")

</div>

You will definitely need forward slashes. Not sure how your share is set up, but I recommend mounting it.

In a similar situation, I had to use [mount](https://linux.die.net/man/8/mount) to properly get a share to work. The share I was connecting to had an everyone type access, but I still had to put in a blank password.

`sudo mount -t cifs -o password=,vers=1.0 //{redacted}/dswatch /mnt/dswatch`

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 25, 2021, 1:05pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/3 "2021-01-25T13:05:33Z")

</div>

Probably ought to go in your `fstab` to always be mounted.

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 25, 2021, 7:34pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/4 "2021-01-25T19:34:16Z")

</div>

Turns out it is an AFP share drive.

And it’s proving to be a huge PITA to get it mounted. using afpfs-ng 0.8.1 🤮

[https://sites.google.com/site/alexthepuffin/](https://sites.google.com/site/alexthepuffin/)

Between this and the printers. I wish I would’ve just installed windows on my new server lol

Linux is only better if your time isn’t worth anything lol

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 25, 2021, 7:42pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/5 "2021-01-25T19:42:44Z")

</div>

> [@wking](#):
>
> Linux is only better if your time isn’t worth anything lol

Ooh, them's fightin' words 🙂

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 25, 2021, 7:48pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/6 "2021-01-25T19:48:22Z")

</div>

> [@paul-griffith](#):
>
> Ooh, them’s fightin’ words

Yup. I figure I'm about twice as productive on Linux as on Windows. Largely due to absurdly flexible networking.

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 25, 2021, 8:14pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/7 "2021-01-25T20:14:31Z")

</div>

> [@paul-griffith](#):
>
> 🙂

Ill get over it as soon as I can save to this drive 😆

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 25, 2021, 8:52pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/8 "2021-01-25T20:52:44Z")

</div>

Was able to get mounted

to

/media/is-everybody/

When I try and save…any ideas? I did chmod 777 on /media/is-everybody

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/4/94373ebd9c9b454b1f08b1a4d61d163beabf8fde.png)

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 26, 2021, 5:58pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/9 "2021-01-26T17:58:17Z")

</div>

```auto
sudo mount -t cifs -o uid=1000,gid=1000,vers=1.0 //{IP-ADRESS}/dp /home/dp/pdrive2 -w

```

To get ignition to save to the drive. I had to mount the drive like so. I also had to use the IP address instead of a hostname.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 26, 2021, 7:32pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/10 "2021-01-26T19:32:03Z")

</div>

> [@wking](#):
>
> I had to mount the drive like so

That suggests that the root\_squash functionality was the barrier--are you running Ignition as root? (Don't do that!)

> [@wking](#):
>
> I also had to use the IP address instead of a hostname.

So DNS isn't consistent, either. /:

---

<div class="post-metadata">

**Author:** ![chasondeshotel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chasondeshotel/32/20032_2.png) [@chasondeshotel](https://forum.inductiveautomation.com/u/chasondeshotel)\
**Post date:** [January 26, 2021, 8:08pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/11 "2021-01-26T20:08:55Z")

</div>

I think ActiveX is the perfect example of how to save development time with Microsoft 😃

There’s a learning curve but it’s not as bad as people make it out to be. On the other side of the curve is a huge ROI for your time if you do any sort of development imo

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 26, 2021, 8:10pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/12 "2021-01-26T20:10:36Z")

</div>

> [@pturmel](#):
>
> Ignition as root?

I don't think so? But, honestly I don't even know how to tell. lol

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/f/cf35647f4213c8564109ae89f10c3fe1a4c3e597.png)

---

<div class="post-metadata">

**Author:** ![wking](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wking/32/21823_2.png) [@wking](https://forum.inductiveautomation.com/u/wking)\
**Post date:** [January 26, 2021, 8:12pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/13 "2021-01-26T20:12:00Z")

</div>

> [@chasondeshotel](#):
>
> with Microsoft 😃

Now that my sharedrive access and TSC printers are back online. I formally retract those statements about Linux. Heat of the moment words. 🥵

---

<div class="post-metadata">

**Author:** ![chasondeshotel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chasondeshotel/32/20032_2.png) [@chasondeshotel](https://forum.inductiveautomation.com/u/chasondeshotel)\
**Post date:** [January 26, 2021, 8:14pm UTC](https://forum.inductiveautomation.com/t/save-file-folder-path-share-drive-linux/42565/14 "2021-01-26T20:14:55Z")

</div>

Oh yea, I understand. The key to getting Linux support is to say “Windows does this, why can’t Linux?” and us Linux nerds pop out of the woodwork 😅
