Re: change recordings path

2024-04-18 Thread Nick Couchman
On Mon, Apr 15, 2024 at 3:11 AM Molina de la Iglesia, Manuel
 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

2024-04-15 Thread Molina de la Iglesia, Manuel
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-igle...@veolia.com
*

*Dirección de Ciberseguridad*

Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48
08038 Barcelona / España

www.veolia.com





El vie, 12 abr 2024 a las 15:56, Nick Couchman ()
escribió:

> On Fri, Apr 12, 2024 at 9:46 AM Molina de la Iglesia, Manuel
>  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

2024-04-12 Thread Nick Couchman
On Fri, Apr 12, 2024 at 9:46 AM Molina de la Iglesia, Manuel
 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

>


change recordings path

2024-04-12 Thread Molina de la Iglesia, Manuel
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-igle...@veolia.com
*

*Dirección de Ciberseguridad*

Ciutat de L’Aigua (D38)

Paseo de la Zona Franca, 48
08038 Barcelona / España

www.veolia.com