When I run galaxy as the actual user using the code I committed to my fork, I run into a problem with dataset_*.dat files that have associated data wherein the associated data files are copied from the job_working_directory into the files directory. That directory is owned by the actual user and not by the galaxy user. I don't have a problem with the ownership but the permissions of the directory and associated files get changed to 777. Any thoughts on why the permissions get changed. The permissions are 755 and 644 for dirs and files respectively when in the working directory so why do they change when the directory is moved? Any help would be greatly appreciated. Best, Ilya Ilya Chorny Ph.D. Bioinformatics - Intern ichorny@illumina.com<mailto:ichorny@illumina.com> 858-202-4582
Chorny, Ilya wrote:
When I run galaxy as the actual user using the code I committed to my fork, I run into a problem with dataset_*.dat files that have associated data wherein the associated data files are copied from the job_working_directory into the files directory. That directory is owned by the actual user and not by the galaxy user. I don't have a problem with the ownership but the permissions of the directory and associated files get changed to 777. Any thoughts on why the permissions get changed. The permissions are 755 and 644 for dirs and files respectively when in the working directory so why do they change when the directory is moved?
Any help would be greatly appreciated.
Hi Ilya, What's your umask on the command line? Galaxy tries to honor this umask if possible, see the collect_associated files method of the Tool class in lib/galaxy/tools/__init__.py. --nate
Best,
Ilya
Ilya Chorny Ph.D. Bioinformatics - Intern ichorny@illumina.com<mailto:ichorny@illumina.com> 858-202-4582
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (2)
-
Chorny, Ilya
-
Nate Coraor