# \[ES-1.4.0\] Changing linux user ID

**URL:** <https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226>\
**Category:** Elasticsearch\
**Created:** [February 18, 2015, 8:09am UTC](https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226 "2015-02-18T08:09:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yarden\_Bar\_2](https://avatars.discourse-cdn.com/v4/letter/y/ed655f/32.png) [@Yarden\_Bar\_2](https://discuss.elastic.co/u/Yarden_Bar_2)\
**Post date:** [February 18, 2015, 8:09am UTC](https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226/1 "2015-02-18T08:09:25Z")

</div>

Hi All,

I encountered a 'Permission Denied' error while using ES Snapshot API to  
add a 'FS' repository pointing a NFS shared folder.

My cluster structure is:

- NFS\_MACHINE - user id is 600
- ES\_01 - user ID that runs ES is 1000
- ES\_02 - user ID that runs ES is 600

The issue seems to be that the difference in user IDs between the machines  
generated the permission issues.

My question is about ES files across a machine file system, are there any  
files outside ES installation folder (except for data/logs/configuration)?

Thanks,  
Yarden

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 18, 2015, 8:50am UTC](https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226/2 "2015-02-18T08:50:20Z")

</div>

Well if you are using a shared FS for snapshot/restore, you need to make sure that each node user can write to this dir.  
Try from all machines to write a file when running as es\_01 and es\_02  
May be you could add them to the same group and give write privileges to the group?

David

> Le 18 févr. 2015 à 09:09, Yarden Bar [yarden@astoncapitalmanagement.com](mailto:yarden@astoncapitalmanagement.com) a écrit :
> 
> Hi All,
> 
> I encountered a 'Permission Denied' error while using ES Snapshot API to add a 'FS' repository pointing a NFS shared folder.
> 
> My cluster structure is:  
> NFS\_MACHINE - user id is 600  
> ES\_01 - user ID that runs ES is 1000  
> ES\_02 - user ID that runs ES is 600  
> The issue seems to be that the difference in user IDs between the machines generated the permission issues.
> 
> My question is about ES files across a machine file system, are there any files outside ES installation folder (except for data/logs/configuration)?
> 
> ## Thanks, Yarden
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1B1A87D5-9D7D-4016-A0D8-1350E52A2906%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/1B1A87D5-9D7D-4016-A0D8-1350E52A2906%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Yarden\_Bar\_2](https://avatars.discourse-cdn.com/v4/letter/y/ed655f/32.png) [@Yarden\_Bar\_2](https://discuss.elastic.co/u/Yarden_Bar_2)\
**Post date:** [February 18, 2015, 3:42pm UTC](https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226/3 "2015-02-18T15:42:09Z")

</div>

Issue was solved by modifying user/group IDs to mactch on all machines.

Thanks for the ideas 🙂

On Wednesday, February 18, 2015 at 10:50:50 AM UTC+2, David Pilato wrote:

> Well if you are using a shared FS for snapshot/restore, you need to make  
> sure that each node user can write to this dir.  
> Try from all machines to write a file when running as es\_01 and es\_02  
> May be you could add them to the same group and give write privileges to  
> the group?
> 
> David
> 
> Le 18 févr. 2015 à 09:09, Yarden Bar \<[yar...@astoncapitalmanagement.com](mailto:yar...@astoncapitalmanagement.com)  
> \<javascript:\>\> a écrit :
> 
> Hi All,
> 
> I encountered a 'Permission Denied' error while using ES Snapshot API to  
> add a 'FS' repository pointing a NFS shared folder.
> 
> My cluster structure is:
> 
> - NFS\_MACHINE - user id is 600
> - ES\_01 - user ID that runs ES is 1000
> - ES\_02 - user ID that runs ES is 600
> 
> The issue seems to be that the difference in user IDs between the machines  
> generated the permission issues.
> 
> My question is about ES files across a machine file system, are there any  
> files outside ES installation folder (except for data/logs/configuration)?
> 
> Thanks,  
> Yarden
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/01f0238b-cdca-46fc-bd38-bf12fcabeaeb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/01f0238b-cdca-46fc-bd38-bf12fcabeaeb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:31am UTC](https://discuss.elastic.co/t/es-1-4-0-changing-linux-user-id/22226/4 "2017-07-06T00:31:50Z")

</div>


