The most common and most likely answer to this crossword clue is the 10 letter word WOODCUTTER
I've seen this crossword clue in The Guardian
W
O
O
D
C
U
T
T
E
R
More clues leading to the result WOODCUTTER
Buddy explains!

The straight part
We know that "a job for Ali Baba" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case a job for ali baba = woodcutter.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.
What does WOODCUTTER mean?
WOODCUTTER noun- A person who cuts down trees; a lumberjack.
- A person who cuts wood.
- A person who makes woodcuts.