Setting file ownership after task is finished

General discussions and questions.
Post Reply
keyframe
Posts: 62
Joined: Sat Jan 21, 2017 9:43 pm
Location: Toronto

Setting file ownership after task is finished

Post by keyframe »

Heya Timur,

Since each job knows the name of the user that submitted it, is possible to assign ownership/group of the final frame to that user once the task is completed?

At the moment all renders are owned by either root or nonrootuser (if specified).

G
--
Rocky Linux 8.5, cgru 3.2.1
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Setting file ownership after task is finished

Post by timurhai »

Hi.

You can write some command wrapper for it.
Or you can do something in a Python service class.

PS
For now i do not see any general way that will suit all studious for it.
If you find some simple generic way to solve this issue we can talk about to implement it in the project.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply