Directory /root permitssion denied

21 views
Skip to first unread message

Rui Wang

unread,
Apr 18, 2023, 12:13:16 PM4/18/23
to z-Tree unleashed
Hi Max,

I am currently using the window system and have run a session successfully after completing the necessary installations. However, I have encountered some errors the next day when creating clients in the putty as attached (e.g. no such file or directory: '/root/.zu/prefix). Upon investigating further via FileZilla, I do not appear to have the necessary permissions to access the root file. I am unsure why this is the case, considering I have been using my key to log in. I have tried multiple times, even creating new instances, but still faced this issue.

Would you be able to help me with resolving this problem? I would highly appreciate your help.

Thank you,
Rui


error in Putty.jpg
file permissions.PNG
permission denied in FileZilla.PNG

Max R. P. Grossmann

unread,
Apr 18, 2023, 1:36:39 PM4/18/23
to Rui Wang, z-Tree unleashed
Are you running ./start_session_simple.sh using sudo? That would be incorrect.

18 Apr 2023 18:13:26 Rui Wang <rwa...@umass.edu>:
> --
> You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com[https://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com?utm_medium=email&utm_source=footer].

Rui Wang

unread,
Apr 18, 2023, 2:31:05 PM4/18/23
to z-Tree unleashed
Many thanks, Max! I will try to run ./start_session_simple.sh without sudo

Rui Wang

unread,
Apr 19, 2023, 2:55:13 PM4/19/23
to z-Tree unleashed
Hi Max,

Thank you so much for your response. It works! 

Additionally, I think should run ./kill_all.sh without sudo to end a session as well, right? Would you mind talking a little bit about when should I use sudo and when should not? I have looked up some information on Google, but I'm still a bit confused. I would really appreciate it if you could explain this to me.

Best,
Rui

Max R. P. Grossmann

unread,
Apr 19, 2023, 2:57:44 PM4/19/23
to Rui Wang, z-Tree unleashed
You should never use sudo with z-Tree unleashed once your server is up and running.

19 Apr 2023 20:55:23 Rui Wang <rwa...@umass.edu>:

> Hi Max,
>
> Thank you so much for your response. It works! 
>
> Additionally, I think should run ./kill_all.sh without sudo to end a session as well, right? Would you mind talking a little bit about when should I use sudo and when should not? I have looked up some information on Google, but I'm still a bit confused. I would really appreciate it if you could explain this to me.
>
> Best,
> Rui
>
> On Tuesday, April 18, 2023 at 2:31:05 PM UTC-4 Rui Wang wrote:
>> Many thanks, Max! I will try to run ./start_session_simple.sh without sudo
>>
>> On Tuesday, April 18, 2023 at 1:36:39 PM UTC-4 Max R. P. Grossmann wrote:
>>> Are you running ./start_session_simple.sh using sudo? That would be incorrect.
>>>
>>> 18 Apr 2023 18:13:26 Rui Wang <rwa...@umass.edu>:
>>>
>>>> Hi Max,
>>>>
>>>> I am currently using the window system and have run a session successfully after completing the necessary installations. However, I have encountered some errors the next day when creating clients in the putty as attached (e.g. no such file or directory: '/root/.zu/prefix). Upon investigating further via FileZilla, I do not appear to have the necessary permissions to access the root file. I am unsure why this is the case, considering I have been using my key to log in. I have tried multiple times, even creating new instances, but still faced this issue.
>>>>
>>>> Would you be able to help me with resolving this problem? I would highly appreciate your help.
>>>>
>>>> Thank you,
>>>> Rui
>>>>
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com[https://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com?utm_medium=email&utm_source=footer][https://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com%5Bhttps://groups.google.com/d/msgid/z-tree-unleashed/a3d6f751-6217-408f-98b9-17a92c3a86c0n%40googlegroups.com?utm_medium=email&utm_source=footer]].
>
> --
> You received this message because you are subscribed to the Google Groups "z-Tree unleashed" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to z-tree-unleash...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/z-tree-unleashed/637ae53b-f636-4c83-98e6-c632520ee9b7n%40googlegroups.com[https://groups.google.com/d/msgid/z-tree-unleashed/637ae53b-f636-4c83-98e6-c632520ee9b7n%40googlegroups.com?utm_medium=email&utm_source=footer].

Rui Wang

unread,
Apr 19, 2023, 3:19:08 PM4/19/23
to z-Tree unleashed
Got it. Thank you so much!

Best,
Rui
Reply all
Reply to author
Forward
0 new messages