You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Molina de la Iglesia, Manuel" <ma...@veolia.com.INVALID> on 2024/04/12 13:46:21 UTC
change recordings path
Hello,
I would like to store session recordings on a different disk (let's say
/dev/sdb),
I tried the following two configurations without success:
1)
guacamole.properties => recording-search-path: /recordings-disk
disk/partition => /dev/sdb1
mounting point => /recordings-disk
Path => ${HISTORY_PATH}
Name => ${HISTORY_UUID}
2)
guacamole.properties => nothing defined
disk/partition => /dev/sdb1
mounting point => /var/lib/guacamole/recordings
Path => ${HISTORY_PATH}
Name => ${HISTORY_UUID}
In both cases, the recording is properly stored on the disk, but on the
session row that appears on the history tab doesn't have a link to watch
the session.
Any suggestions, error...?
Thanks
*Manel Molina*
*manuel.molina-de-la-iglesia@veolia.com
<ma...@veolia.com>*
*Dirección de Ciberseguridad*
Ciutat de L’Aigua (D38)
Paseo de la Zona Franca, 48
08038 Barcelona / España
www.veolia.com
<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect2.fireeye.com%2Fv1%2Furl%3Fk%3D31323334-501d5122-31356fd6-454445555731-a8425f343e5c4fad%26q%3D1%26e%3D30530535-2971-48a4-8441-12c02ea4dc09%26u%3Dhttps%253A%252F%252Feur01.safelinks.protection.outlook.com%252F%253Furl%253Dhttp%25253A%25252F%25252Fwww.veolia.com%25252F%2526data%253D05%25257C01%25257Csergi.carmona%252540agbar.es%25257C4c93dad3808642dd7ec308da3ccb99ab%25257Cf4a12867922d4b9dbb859ee7898512a0%25257C0%25257C0%25257C637889142388029142%25257CUnknown%25257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%25253D%25257C3000%25257C%25257C%25257C%2526sdata%253DJJM7r2MgHUaiuJD%25252Bk2xlr3opNEFsJkp%25252Byh2MJq0XRS0%25253D%2526reserved%253D0&data=05%7C01%7Coriol.val%40agbar.es%7C8a3587bd93134628cf9908da4d2baf8e%7Cf4a12867922d4b9dbb859ee7898512a0%7C0%7C0%7C637907147446774859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5Vjff2WWXgkB77AldZ5g116HPKmbRv1h5PRjQjH9k0o%3D&reserved=0>
Re: change recordings path
Posted by Nick Couchman <vn...@apache.org>.
On Mon, Apr 15, 2024 at 3:11 AM Molina de la Iglesia, Manuel
<ma...@veolia.com.invalid> wrote:
> Hi,
>
> Yes, the problem is the folder permissions, but if I change the owner of
> the folder the previous files are reachable from the history tab, but not
> new videos. I tried to modify the umask but I don't know how to do it
> properly, and I think that it could not be the best solution, I would like
> to create a "guacd" user and add it to the tomcat group. Does it make
> sense? How can I specify the user that runs guacamole?
>
>
Yes, you can either create a user like guacd and add to the Tomcat group,
or you can create a "guacamole" group and add both the tomcat user and the
guacd user to that group. Also, if your underlying filesystem supports
POSIX ACLs, you can use ACLs to allow both users to read and write from the
folders.
-Nick
>
Re: change recordings path
Posted by "Molina de la Iglesia, Manuel" <ma...@veolia.com.INVALID>.
Hi,
Yes, the problem is the folder permissions, but if I change the owner of
the folder the previous files are reachable from the history tab, but not
new videos. I tried to modify the umask but I don't know how to do it
properly, and I think that it could not be the best solution, I would like
to create a "guacd" user and add it to the tomcat group. Does it make
sense? How can I specify the user that runs guacamole?
Thanks
*Manel Molina*
*manuel.molina-de-la-iglesia@veolia.com
<ma...@veolia.com>*
*Dirección de Ciberseguridad*
Ciutat de L’Aigua (D38)
Paseo de la Zona Franca, 48
08038 Barcelona / España
www.veolia.com
<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect2.fireeye.com%2Fv1%2Furl%3Fk%3D31323334-501d5122-31356fd6-454445555731-a8425f343e5c4fad%26q%3D1%26e%3D30530535-2971-48a4-8441-12c02ea4dc09%26u%3Dhttps%253A%252F%252Feur01.safelinks.protection.outlook.com%252F%253Furl%253Dhttp%25253A%25252F%25252Fwww.veolia.com%25252F%2526data%253D05%25257C01%25257Csergi.carmona%252540agbar.es%25257C4c93dad3808642dd7ec308da3ccb99ab%25257Cf4a12867922d4b9dbb859ee7898512a0%25257C0%25257C0%25257C637889142388029142%25257CUnknown%25257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%25253D%25257C3000%25257C%25257C%25257C%2526sdata%253DJJM7r2MgHUaiuJD%25252Bk2xlr3opNEFsJkp%25252Byh2MJq0XRS0%25253D%2526reserved%253D0&data=05%7C01%7Coriol.val%40agbar.es%7C8a3587bd93134628cf9908da4d2baf8e%7Cf4a12867922d4b9dbb859ee7898512a0%7C0%7C0%7C637907147446774859%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5Vjff2WWXgkB77AldZ5g116HPKmbRv1h5PRjQjH9k0o%3D&reserved=0>
El vie, 12 abr 2024 a las 15:56, Nick Couchman (<vn...@apache.org>)
escribió:
> On Fri, Apr 12, 2024 at 9:46 AM Molina de la Iglesia, Manuel
> <ma...@veolia.com.invalid> wrote:
>
>> Hello,
>>
>> I would like to store session recordings on a different disk (let's say
>> /dev/sdb),
>>
>> I tried the following two configurations without success:
>>
>> 1)
>> guacamole.properties => recording-search-path: /recordings-disk
>> disk/partition => /dev/sdb1
>> mounting point => /recordings-disk
>> Path => ${HISTORY_PATH}
>> Name => ${HISTORY_UUID}
>>
>> 2)
>> guacamole.properties => nothing defined
>> disk/partition => /dev/sdb1
>> mounting point => /var/lib/guacamole/recordings
>> Path => ${HISTORY_PATH}
>> Name => ${HISTORY_UUID}
>>
>> In both cases, the recording is properly stored on the disk, but on the
>> session row that appears on the history tab doesn't have a link to watch
>> the session.
>>
>>
> Does the user account running *Tomcat* have read access to the recording
> locations and the recording files?
>
> -Nick
>
>>
Re: change recordings path
Posted by Nick Couchman <vn...@apache.org>.
On Fri, Apr 12, 2024 at 9:46 AM Molina de la Iglesia, Manuel
<ma...@veolia.com.invalid> wrote:
> Hello,
>
> I would like to store session recordings on a different disk (let's say
> /dev/sdb),
>
> I tried the following two configurations without success:
>
> 1)
> guacamole.properties => recording-search-path: /recordings-disk
> disk/partition => /dev/sdb1
> mounting point => /recordings-disk
> Path => ${HISTORY_PATH}
> Name => ${HISTORY_UUID}
>
> 2)
> guacamole.properties => nothing defined
> disk/partition => /dev/sdb1
> mounting point => /var/lib/guacamole/recordings
> Path => ${HISTORY_PATH}
> Name => ${HISTORY_UUID}
>
> In both cases, the recording is properly stored on the disk, but on the
> session row that appears on the history tab doesn't have a link to watch
> the session.
>
>
Does the user account running *Tomcat* have read access to the recording
locations and the recording files?
-Nick
>